daml/compiler
Moritz Kiefer 90c5ce703a
Optimize mapOptional and add more efficient findOptional (#9214)
* Optimize mapOptional and add more efficient findOptional

Given that we don’t have list fusion catOptionals . map f is clearly
less efficient than this version.

I also added findOptional which can be pretty handy in certain cases.

changelog_begin
changelog_end

* more foldr

changelog_begin
changelog_end

* fix tests

changelog_begin
changelog_end
2021-03-23 17:07:45 +00:00
..
daml-extension Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00
daml-lf-ast LF: Add RoundingMode and BigNumeric in Haskell Ast (#9215) 2021-03-23 16:50:17 +00:00
daml-lf-proto LF: Add RoundingMode and BigNumeric in Haskell Ast (#9215) 2021-03-23 16:50:17 +00:00
daml-lf-reader Upgrade the LF library build setup (resolver, dependencies, version) (#8865) 2021-02-17 07:07:17 +01:00
daml-lf-tools LF: Add RoundingMode and BigNumeric in Haskell Ast (#9215) 2021-03-23 16:50:17 +00:00
daml-lf-verify LF: release LF 1.12 (#8856) 2021-02-24 21:17:33 +01:00
damlc Optimize mapOptional and add more efficient findOptional (#9214) 2021-03-23 17:07:45 +00:00
ghcide Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
hie-core Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
lsp-tests ghcide: cached goto definitions (#8751) 2021-02-04 21:05:12 +01:00
repl-service Expose Daml stacktraces for Daml Script errors (#9025) 2021-03-04 16:13:50 +01:00
scenario-service add rollback node to transactions (#9178) 2021-03-23 08:49:25 +00:00
README.md Daml case and logo (#8433) 2021-01-08 12:50:15 +00:00

Daml Compiler

This directory contains several libraries used by and the executable for the Daml compiler.

Libraries

  • daml-lf-ast: The Daml-LF AST and type checker.