Better HN
topnewbestaskshowjobs
Log inSign up

drb226

8 karma · joined Nov 20, 2017 (9y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

About (1).

The exact versions they used are specified by the stack.yaml file.

In this case, see https://stackage.org/lts-13.10

Stack has a feature that lets you automatically added bounds to a hackage upload based on the stack.yaml. (However, I personally do not recommend using this feature, as those bounds usually end up being overly restrictive. Manually-written bounds are better.)

comment 8y ago · link · parent

"The third problem of Haskell is the weird syntax, that doesn't follow the common C/Java/JS or Python syntaxes for no good reason"

Haskell came before Java, JS, and Python. Perhaps it's their fault for choosing C-like syntax instead of Haskell-like syntax.

comment 8y ago · link · parent

"linear types isn’t needed to ensure “some intermediate state must get consumed once and only once.”"

If you don't use linear types to ensure this, then you're probably not ensuring it, and it just comes down to "hopefully the programmer eyeballed it correctly and read the docs."