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

I assume aweinstock was referring to the first link you posted:

https://hackage.haskell.org/package/dynamic

Which is an entirely different package, and the relevant types are entirely different. Only the name is the same. The `dynamic` package does indeed appear to be an april fools joke.

The Dynamic type in base is about runtime reflection, which is occasionally useful but not something that comes up often and not really about rapid prototyping.



I didn't notice they were different packages.

>The Dynamic type in base is about runtime reflection, which is occasionally useful but not something that comes up often

It is not something that comes up often, but since I am used to languages like Javascript or Scheme, when it does come up, figuring out how to do it in Haskell, e.g., satisfying the monomorphic restriction, has occasionally diverted my focus away from the problem to be solved for hours while I learn more about Haskell's type system.

But yeah, what I just wrote is in no way inconsistent with the comment I initially replied to, namely,

https://news.ycombinator.com/item?id=23795687

so I am going to admit that my comments in this thread have not exactly improved the level of discourse.




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

Search: