[Haskell-beginners] Y-combinator

Jon Harrop jon at ffconsultancy.com
Wed Feb 24 18:53:50 EST 2010


On Wednesday 24 February 2010 20:53:14 Edward Z. Yang wrote:
> http://haskell.org/hoogle/3/?q=fix

That leads to the following source:

http://haskell.org/ghc/docs/latest/html/libraries/base/src/Data-Function.html

but it uses a workaround rather than extending the type system. I'm looking 
for an equivalent of OCaml's -rectypes that enables recursive types in 
Haskell (e.g. in ghci)?

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e


More information about the Beginners mailing list