faylang / fay

A proper subset of Haskell that compiles to JavaScript
https://github.com/faylang/fay/wiki
BSD 3-Clause "New" or "Revised" License
1.29k stars 86 forks source link

Use a generics library for desugaring/preprocessing #339

Closed bergmark closed 10 years ago

bergmark commented 10 years ago

Inspired by Neil Mitchell's talk on haskell exchange that everyone should be using a generics library, I'd like to see Fay use this for both the desugaring and preprocessing step in the compiler. Uniplate should be a good fit, but feel free to make this decision yourself.

Here is his talk which gives an introduction to uniplate: http://skillsmatter.com/podcast/scala/uniplate

bergmark commented 10 years ago

InitialPass wouldn't gain much from this, but desugaring has been refactored.