Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
riwsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
571.
▲
by
riwsky
12y ago
Haskell's generic programming constructs do not have zero runtime overhead (at least on GHC, the dominant compiler). Typeclass-overloaded functions take an extra argument at runtime, in which the class "methods" are looked
572.
▲
by
riwsky
12y ago
And in case anyone else wants such a function, it's available in the standard library as functools.partial: https://docs.python.org/2/library/functools.html
573.
▲
by
riwsky
12y ago
These operators are like the word "whence": a denser notation that could just as easily be written out in full, in a way more friendly to non-experts in the language - for example, as "from where" - but if you're al
574.
▲
by
riwsky
13y ago
> you can create an object that implements the same interface and delegates to an instance of the base type (much less readable in every language I've seen, and effectively reimplementing inheritance without the syntactic sugar). In
575.
▲
by
riwsky
13y ago
For John Carmack's take on the matter, see: John Carmack: "Thoughts on Haskell" https://news.ycombinator.com/item?id=6278047
576.
▲
by
riwsky
13y ago
PZ Myers, a biologist, gives a good reaction to some earlier news on these physicists at http://scienceblogs.com/pharyngula/2011/04/26/aaargh-physici...
577.
▲
Show HN: Gatos, conCATenative functions for python
(github.com)
1 points
by
riwsky
14y ago
|
0 comments