[Haskell-cafe] LIPL: a tiny functional language implemented
gale at sefer.org
Mon May 26 17:36:04 EDT 2008
sam lee wrote:
> This is a sort of spam.
Not at all!
> I've been working on a tiny functional language as a term project to
> learn Haskell.
Very nice, I really enjoyed reading your project.
Thank you for sharing it with the community.
> And I submitted it today.
Hope you get a good grade, I think you deserve it . :)
> I wrote the code in literate Haskell.
> So it could be used as Haskell tutorial
Well, not exactly a tutorial, but an excellent
example of a Haskell learning experience well done.
I'm sure I'll be referring this link to people.
In your Epilogue you wrote:
> - Debugging a Haskell program can be difficult
> - Modularity improves debug-ability
> - Monad transformers improve modularity
> - Unwrapping monad transformers and making
> magic lift work can be tedious (an IDE might help)
As for debugging, it can be difficult in any programming
language. I actually find it much _less_ difficult in Haskell.
Yes, modularity helps, and Haskell has powerful tools for it
that you don't find in many other languages. It would also
help if you wrote signatures for your functions, to make
better use of the type checker for debugging.
More information about the Haskell-Cafe