UU-ComputerScience / uhc-js

4 stars 1 forks source link

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

Open mgajda opened 12 years ago

mgajda commented 12 years ago

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 commented 12 years ago

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

mgajda commented 12 years ago

Great!