Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

custom contract definitions not removed #41

Closed
gregwebs opened this Issue · 4 comments

2 participants

@gregwebs

cat test.coffee

    Data = ?([...Num or Str])

    getData :: (Data) -> Data
    getData = (arr) -> arr

coffee -p test.coffee

(function() {
  var Data, getData;

  Data = arr([___(or(Num, Str))]);

  getData = function(arr) {
    return arr;
  };

}).call(this);
@disnet disnet referenced this issue from a commit
@disnet lib for #41 189dea4
@disnet
Owner

Should work now.

@gregwebs

Thanks, is this released? I installed from npm before. When I tried to cake build it just thrashes my hard drive, not sure what I am doing wrong.

@disnet
Owner

Oops! Had a bug in the Cakefile that caused it to spin if contracts.js hadn't been checked out. You'll need to run git submodule init && git submodule update for build to work.

Collecting this and a few other fixes into an npm release. Should be up soon.

@gregwebs

Tried out the latest. works great. Thanks!

@gregwebs gregwebs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.