3 ms·
We're mostly using Protolude at the moment. It has some nice properties, e.g. * "id" renamed to "identity" so you can use id in your own code * panic function
by teh 10y ago
We're mostly using Protolude at the moment. It has some nice properties, e.g.
* "id" renamed to "identity" so you can use id in your own code
* panic functions like "notImplemented"
* a generic string converter "toS"
* lots more
But to be fair most modern preludes work OK.
Foundation is a bit different in that it doesn't ship a huge amount yet but has the potential to eventually replace the core prelude with saner default types like utf8-encoded strings. If you need to ship to production yesterday I would not use Foundation just yet.