purescript-corefn 0.3.0

A parser for PureScript's corefn JSON representation.
Documentation
1
2
3
4
5
6
7
8
extern crate purescript_corefn;

#[test]
fn t() {
    assert!(purescript_corefn::from_str("{}").is_err());
    let str = include_str!("./Main/corefn.json");
    println!("{:?}", purescript_corefn::from_str(str).unwrap());
}