-
If you're going to do this to prevent excessively long lines, do it like this:
``` purescript
logShow
:: forall a eff
. Show a
=> a
-> Eff (console :: CONSOLE | eff) Unit
```
So the type …
garyb updated
8 years ago
-
I haven't looked at the implementation to see if there's a reason it requires the list implementation, but they should be equivalent. The reason I ask is that `Data.Codec.basicCodec` could be used, w…
-
# Topics in Haskell beyond LYAH
## Type theory related
1. ~~`Functor-Applicative-Monad` typeclass hierarchy (covered in LYAH)~~
1. ~~`State` monad (covered in LYAH)~~
1. ~~General` Zip…
-
``` shell
cody@cody-G46VW:~/source/unsorted/leksah$ stack install
While constructing the BuildPlan the following exceptions were encountered:
-- Failure when adding dependencies:
gtk3: nee…
-
I'm trying to run the demo application on Mac OS X 10.10.2, and I get a segmentation fault. The display window opens with just a black background, and then crashes.
Here's [a gist](https://gist.githu…
-
I am getting the following error message when I use cabal run in WSL 2.0 in Windows.-
```
cabal run mywork
Build profile: -w ghc-9.2.8 -O1
In order, the following will be built (use -v for more d…
-
Running `pulp build` on the code generated by servant-purescript generates a lot of warnings. If possible, we should try to generate clean code.
For example, building `central-counter` generates 68…
-
Сюда буду скидывать мелкие замечания. Они все достаточно важные в плане читабельности и type safety, но их легко научиться править и не допускать в будущем, так что я уверен, у тебя с ними никаких про…
-
Hi @jonsterling!
So I was thinking about the `RIndex` type and it seems to be a bit problematic. First it only allows the first appearance of a value to be indexed. Second, if a value isn't in the re…
-
Sanctuary Type Classes provides built-in algebras for String, Number, Array, and many other JavaScript natives. It might be nice to add these, since this is a Sanctuary-specific project.