318 karma · joined Jan 5, 2019 (7y ago) · 168 submissions
comment 6y ago · link · parent
not as much C# the language, as CLR, the runtime. Because of reified generics, which is the way things are done in the .NET world, and which the runtime needs to support, it would also require explicit support in the runtime for Higher-kinded types or Type classes. And that won't happen without C# having these features (and having them first).
F# is really really great, but it is like an unwanted child of Microsoft :(
comment 6y ago · link · parent
not really, it's still the problem Android being Java < 8, and Scala on Java 8 features.
https://github.com/scala-android/sbt-android/issues/334#issu...
comment 7y ago · link · parent
Not entirely, actually, thanks to the Internet Archive!!!
https://web.archive.org/web/20190119000840/https://plus.goog...
comment 7y ago · link · parent
if you want to go really minimalistic, see stage0, it's like 500 Bytes
https://github.com/oriansj/stage0
details are in the article
comment 7y ago · link · parent
It's a fresh, and pragmatic too, take on how to do pure functional programming, but without advanced concepts (like higher-kinded types).
could be (and maybe even has been) ported over to other languages besides Scala
comment 7y ago · link · parent
I think that's a legitimate and, most importantly, factually correct point to make.
If you're interested in what these "Higher-kinded types" are: https://typelevel.org/blog/2016/08/21/hkts-moving-forward.ht...
comment 7y ago · link · parent
or you can use https://www.linuxboot.org/ as a coreboot payload
comment 7y ago · link · parent
https://github.com/propensive/fury
https://youtu.be/Xti2I2Csww8?t=1620
it seems like people working on package management/distribution related things LOVE the idea of IPFS
comment 7y ago · link · parent
> go-ipfs-chunker provides the Splitter interface. IPFS splitters read data from a reader an create "chunks". These chunks are used to build the ipfs DAGs (Merkle Tree) and are the base unit to obtain the sums that ipfs uses to address content.
> The package provides a SizeSplitter which creates chunks of equal size and it is used by default in most cases, and a rabin fingerprint chunker. This chunker will attempt to split data in a way that the resulting blocks are the same when the data has repetitive patterns, thus optimizing the resulting DAGs.
I think they should use the rolling hash based chunking by default
comment 7y ago · link · parent
> Early on in the language history we used IPFS to distribute the Dhall Prelude, but due to reliability issues we’ve switched to using GitHub for hosting Dhall code.
http://www.haskellforall.com/2019/01/dhall-year-in-review-20...
https://github.com/dhall-lang/dhall-lang/issues/162
I wish IPFS the best, because at least in theory this seems like a perfect use case
comment 7y ago · link · parent
https://www.cs.cmu.edu/~rwh/pfpl/index.html
direct link to a preview of the 2nd edition:
https://www.cs.cmu.edu/~rwh/pfpl/2nded.pdf
direct link to an unabridged version of the 1st edition:
comment 7y ago · link · parent
comment 7y ago · link · parent
the pipes in your typical functional language (`|>`) is not a form of function composition, like
```
f >> g === x -> g(f(x))
```
but function application, like
```
f x |> g === g(f(x))
x |> f |> g // also works, has the same meaning
f |> g // just doesn't work, sorry :(
```