agda-stdlib
agda-life
Our great sponsors
agda-stdlib | agda-life | |
---|---|---|
4 | 1 | |
556 | 0 | |
2.0% | - | |
9.3 | 0.0 | |
7 days ago | over 2 years ago | |
Agda | Agda | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
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.
agda-stdlib
-
Static Type Safety with Variadic Functions: an Idea and a Question
For further reading, there's a paper on arity generic programming and some solutions using dependent typing in Agda.
-
When do you find it better to use non-ASCII identifiers?
In Rust I have never seen it. However, in Agda it's a convention, and the code looks beautifully https://github.com/agda/agda-stdlib/blob/master/src/Algebra/Lattice/Structures.agda
-
Should programming languages switch to special characters (gliphs) for it's code?
Agda is a good example, as it allows you to define arbitrary Unicode-based operators and names: https://github.com/agda/agda-stdlib/blob/master/src/Data/Product.agda
-
Separating the type and value namespaces?
Most of the times you want the first three arguments to be passed implicitly, not just the first. And the syntax for passing arguments implicitly is the same for the type argument A and the term arguments n and m. (For Agda, see e.g. l.49 here: https://github.com/agda/agda-stdlib/blob/master/src/Data/Star/Vec.agda)
agda-life
-
Learn Go by writing tests – Hello, world (2018)
https://github.com/fzipp/agda-life/blob/18dda7f45541d2e8f47c...
Sure, they are validated at compile time because they are propositions as types, but in the end they are still basically test cases: expected output for given input, and the compiler is the test runner.
I don't know how to encode the full "Game of Life" property as dependent types, I am still an Agda newbie.
What are some alternatives?
cryptominisat - An advanced SAT solver
game-of-life - Conway's Game of Life - Cellular Automata
agdarsec - Total Parser Combinators in Agda
game-of-life - Conway's Game of Life
l4v - seL4 specification and proofs
Agda - Agda formalisation of the Introduction to Homotopy Type Theory
creusot - Creusot helps you prove your code is correct in an automated fashion. [Moved to: https://github.com/creusot-rs/creusot]
game-of-life-webgl - Variations on Conway's Game of Life, running on GPU
template-agda - An Agda template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.
Cellular-Automatons - This repository focuses on studying and showcasing interesting patterns emerging from simple rules random motion algorithms. It contains a Conway's Game of life made in Python and a second algorithm for an animation of random walk algorithms on a 2D plane.
next-700-module-systems - PhD research ;; What's the difference between a typeclass/trait and a record/class/struct? Nothing really, or so I argue.
learn-go-with-tests - Learn Go with test-driven development