|
|
|
|
|
by GreaterFool
3156 days ago
|
|
It's a little bit more than just a cute intellectual puzzle. One could build an efficient EDN library based on that or very similar type. See Haskell's JSON library: https://github.com/bos/aeson/blob/master/Data/Aeson/Types/In... > though the Clojure expressions are a little leaner Yes they are. The price is complete lack of type safety. And the benefit is an insignificantly small reduction in boilerplate code. The number of bugs I've seen where somebody would "get" a number that turned out to be a string or string that turned out to be a number... |
|