Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow I've gotta say, this looks great.

Something that bugs me is I couldn't copy the code in the upper right to the code "try it" section. I haven't used haskell for 6-12 months, so I'm not sure what I'm doing wrong.

Here's a screenshot: http://imgur.com/N2SdFVq

Regardless of how to fix this, I think something should be changed so this can't be someone's first impression.



It's a somewhat limited shell. You can't make local definitions. Normally you'd do that using `let` in GHCi, but this prompt only evaluates expressions.


It doesn't seem to support function declaration.


You can use function declaration in the same line it is used.

`let { f x = x ^ 2 } in f 2`




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: