|
Snak posted:edit:^ yes, because I thought there would be an easy way to get at the int value of a enum type, like there is in c. This is the assumption you have to drop - algebraic data types in Haskell are not like enums in C, usage of the Enum typeclass not withstanding. It's not like C where there's an underlying integer that you can just reach in and grab. If anything you can forget most of what you know from C/C++ when doing Haskell.
|
# ¿ Sep 17, 2015 05:14 |
|
|
# ¿ May 2, 2024 00:03 |
|
Ralith posted:The Haskell Platform is pretty much deprecated in favor of Stack, FYI. It keeps things isolated and is generally a huge boon to reliability. The GTK bindings are kind of broken on Windows, and I don't think Leksah (or EclipseFP for that matter) is really very well supported in general; most people just use one of the major editors like Emacs or Sublime or Atom. EclipseFP is dead, the main guy stopped working on it. If Emacs is too much I'd go with Sublime, Atom or VSCode. Also I thought the platform was using stack internally now? There was a big debate about it a few months back.
|
# ¿ Mar 15, 2016 15:40 |