Skip to content
Type provider library for Idris
Branch: master
Clone or download
david-christiansen Merge pull request #2 from LeifW/patch-1
Not seeing any "Providers" module
Latest commit d825800 Oct 1, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Data Changes for Idris version update Jul 30, 2013
Providers Silly commit Oct 1, 2015
.gitignore Initial commit May 6, 2013
CSVMain.idr Changes for Idris version update Jul 30, 2013
Main.idr Cosmetic update Sep 23, 2013
Makefile
README.md Thesis version Jun 9, 2013
SQLiteConstants.idr Initial commit May 6, 2013
SQLiteTypes.idr Initial commit May 6, 2013
sqlite_provider.c Initial commit May 6, 2013
sqlite_provider.h
test.csv Type provider for CSV May 28, 2013
test.sqlite Initial commit May 6, 2013

README.md

idris-type-providers

This is a type provider library for Idris.

Examples thus far:

  • A simple demonstration, in Silly.idr, that asks users for their age and refuses to typecheck for users under 18 years old

  • A strongly typed interface to SQLite, based roughly on the SQL representation in "The Power of Pi" by Oury and Swierstra (ICFP 2008).

OS Support:

For now, I only test the library on GNU/Linux. With minor changes, it should work on other systems - primarily the build system will need updating.

To use:

First, you must build the wrapper library for SQLite. Run "make".

Then, load Main.idr in Idris. This contains a statically-checked query.

You can’t perform that action at this time.