Skip to content

Support for: {-# LANGUAGE BangPatterns #-} #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mgajda opened this issue Jan 29, 2012 · 2 comments
Open

Support for: {-# LANGUAGE BangPatterns #-} #1

mgajda opened this issue Jan 29, 2012 · 2 comments

Comments

@mgajda
Copy link

mgajda commented Jan 29, 2012

Bang Patterns were one of two most effective optimization techniques introduced by Clean research team (along with unique types), and are one that is most used in common Haskell programs besides unboxed types.

Implementing syntax support for these may greatly increase number of Cabal packages that may compile under UHC/UHC-JS.

@uhc
Copy link

uhc commented Feb 27, 2012

This has been added. The combination with irrefutable patterns, and combination with nested occurrences has not been tested/checked though.

@mgajda
Copy link
Author

mgajda commented Mar 7, 2012

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants