learnhaskell
primes-cpp
learnhaskell | primes-cpp | |
---|---|---|
7 | 1 | |
7,903 | 0 | |
- | - | |
0.9 | 10.0 | |
7 months ago | over 7 years ago | |
Makefile | C++ | |
Creative Commons Zero v1.0 Universal | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
learnhaskell
-
Počeo da učim Haskell
learnhaskell
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
https://github.com/bitemyapp/learnhaskell/blob/master/dialog...
> a transducer is recognizing that the signature of foldl splits
> type Transducer a b = forall r. (r -> b -> r) -> (r -> a -> r)
> they compose like lenses
-
Functional Education (2014)
The author maintains an opinionated path to learning Haskell[0], albeit lacking the criticism of resources that ultimately do not make it into his final recommendation.
[0] https://github.com/bitemyapp/learnhaskell
-
Understanding Transducers
I find the following type signature captures the essence:
type Transducer x y = forall b. (b -> y -> b) -> (b -> x -> b)
https://github.com/bitemyapp/learnhaskell/blob/master/dialog...
-
Learn You A Haskell For Great Good - To-Do Lists clean up unsafe?
There's some resources here: https://github.com/bitemyapp/learnhaskell
-
Sequent Calculus in Haskell
Other than that, I'm afraid your issues are too broad to help much. If you're having trouble getting anywhere, I would recommend starting with some basic tutorial. Here are some decent ones. Haskell is not a language you can just pick up unless you have prior functional programming experience.
-
Best resource to learn Haskell?
This is the best meta-guide I know of to learning Haskell: https://github.com/bitemyapp/learnhaskell
primes-cpp
-
Ask HN: What piece of code/codebase blew your mind when you saw it?
Everybody mentions this, and what's great is that it is a pretty natural solution to a lot of problems. I remember coming up with a version of it while writing an optimized prime-sieve[1], and was surprised when I later learned that it was some named technique.
In addition to just the basic loop-unrolling (which I'm pretty sure you usually don't need to do by hand with modern compilers), it works really well when you need to jump into the middle of a pattern. Like if you're sieving primes in a wheel-factorized array.
[1] https://github.com/patricksjackson/primes-cpp/blob/master/pr...
// Here we're only checking possible primes after wheel-factorization
What are some alternatives?
protoactor-dotnet - Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
lisp-in-life - A Lisp interpreter implemented in Conway's Game of Life
Apollo-11 - Original Apollo 11 Guidance Computer (AGC) source code for the command and lunar modules.
scheme - An R7RS Scheme implemented in WebAssembly
Quake-2 - Quake 2 GPL Source Release
pygments - Pygments is a generic syntax highlighter written in Python
haskell-handbook - Best practices on how to be efficient with Haskell in production
learn-you-a-haskell - “Learn You a Haskell for Great Good!” by Miran Lipovača
cosmopolitan - build-once run-anywhere c library