Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom contract definitions not removed #41

Closed
gregwebs opened this issue Mar 30, 2012 · 4 comments
Closed

custom contract definitions not removed #41

gregwebs opened this issue Mar 30, 2012 · 4 comments

Comments

@gregwebs
Copy link

@gregwebs gregwebs commented Mar 30, 2012

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 added a commit that referenced this issue Mar 30, 2012
@disnet
Copy link
Owner

@disnet disnet commented Mar 30, 2012

Should work now.

@gregwebs
Copy link
Author

@gregwebs gregwebs commented Apr 3, 2012

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
Copy link
Owner

@disnet disnet commented Apr 4, 2012

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
Copy link
Author

@gregwebs gregwebs commented Apr 13, 2012

Tried out the latest. works great. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants