unison/unison-src
Dan Doel 9fc61ff292 Avoid redundant floating due to signatures
Due to a missing case in the floating logic, definitions like:

    f : ...
    f x y z = ...

were being turned into:

    f : ...
    f =
      g x y z = ...
      g

Because the compiler thought the lambda needed to be floated out of the
signature ascription, as the original `f` is the same as:

    f = (x y z -> ...) : ...

This is obviously not necessary, as the signature will be erased anyway,
and just results in extra indirection.
2022-03-21 13:29:37 -04:00
..
demo fixes tests and transcripts 2021-08-24 11:33:27 -07:00
errors fixes tests and transcripts 2021-08-24 11:33:27 -07:00
parser-tests format with new ormolu 2022-02-28 15:52:25 -06:00
tests ⅄ trunk → topic/rehash-codebase 2022-01-24 12:43:11 -05:00
transcripts Avoid redundant floating due to signatures 2022-03-21 13:29:37 -04:00
transcripts-round-trip softhang delayed computations when they're the last arg; add round trip test 2022-03-02 12:34:38 -06:00
transcripts-using-base updates transcripts 2022-03-07 14:11:10 -08:00
base58.u fix stray case .. of instances and opportunities for cases in unison-src 2020-02-21 17:05:18 -08:00
Base.u fixes tests and transcripts 2021-08-24 11:33:27 -07:00
basics.u fix stray case .. of instances and opportunities for cases in unison-src 2020-02-21 17:05:18 -08:00
example-errors.u rename Int64 to just Int 2018-09-24 13:36:13 -04:00
remote-api.u fix stray handle .. in instances in unison-src 2020-02-21 17:05:18 -08:00
remote.u fix stray handle .. in instances in unison-src 2020-02-21 17:05:18 -08:00