Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yurrriq/tdd-with-idris
:book: Working through Type-Driven Development with Idris
https://github.com/yurrriq/tdd-with-idris
dependent-types functional-programming idris learning theorem-proving type-driven-development
Last synced: 13 days ago
JSON representation
:book: Working through Type-Driven Development with Idris
- Host: GitHub
- URL: https://github.com/yurrriq/tdd-with-idris
- Owner: yurrriq
- License: mit
- Created: 2016-04-28T04:00:02.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-03-29T21:52:50.000Z (almost 8 years ago)
- Last Synced: 2024-11-17T07:29:18.763Z (2 months ago)
- Topics: dependent-types, functional-programming, idris, learning, theorem-proving, type-driven-development
- Language: Idris
- Homepage: http://yurrriq.codes/tdd-with-idris
- Size: 221 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+STARTUP: showall
#+OPTIONS: toc:nil* Type-Driven Development with Idris
[[https://travis-ci.org/yurrriq/tdd-with-idris][file:https://travis-ci.org/yurrriq/tdd-with-idris.svg]]/Solutions to exercises from [[https://www.manning.com/books/type-driven-development-with-idris][Type-Driven Development with Idris]] by [[https://github.com/edwinb][Edwin Brady]],
and tests thereof./
** Package
#+BEGIN_SRC idris-ipkg :tangle typedriven.ipkg
package typedrivenpkgs = effects
opts = "--total"
sourcedir = srcmodules = Exercises.GettingStarted
, Exercises.Interactive
, Chapter.DataTypes, Exercises.DataTypes
, Exercises.InteractivePrograms
, Chapter.State, Exercises.State
, Chapter.StateMachines, Exercises.StateMachines
, Chapter.DependentStateMachines, Exercises.DependentStateMachinesbrief = "Solutions to exercises in Type-Driven Development with Idris."
readme = README.org
license = MIT
author = "Eric Bailey"homepage = https://github.com/yurrriq/tdd-with-idris
sourceloc = https://github.com/yurrriq/tdd-with-idris
bugtracker = https://github.com/yurrriq/tdd-with-idris/issues
#+END_SRC
** Test package
#+BEGIN_SRC idris-ipkg :tangle test.ipkg
package typedriven.testpkgs = test
opts = "--total"
sourcedir = srcmodules = Exercises.Test.GettingStarted
, Exercises.Test.Interactive
, Exercises.Test.DataTypes
, Exercises.Test.State
, Test.Helpersbrief = "Test for exercises in Type-Driven Development with Idris."
author = "Eric Bailey"
#+END_SRC
** nix-shell config
#+BEGIN_SRC nix :tangle shell.nix
{ doCheck ? false }:with import {};
let
idris = callPackage ./pkgs/idris.nix { inherit doCheck; };
instdenv.mkDerivation rec {
name = "tdd-with-idris-${version}";
version = "0.0.1";buildInputs = [ idris ];
}
#+END_SRC