Git Product home page Git Product logo

rebar_prv_alpaca's People

Contributors

j14159 avatar lepoetemaudit avatar tsloughter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rebar_prv_alpaca's Issues

alpaca shell crashe on an empty project

  1. create a new rebar3 project
  2. add the content of https://github.com/alpaca-lang/alpaca#tldr-how-do-i-use-it to the rebar.config
  3. run rebar3 alpaca shell

crash:

rebar3 alpaca shell
===> Verifying dependencies...
===> Compiling alptest
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]

*** ERROR: Shell process terminated! (^G to start new job) ***
2017-06-12 00:56:56 Error in process ~p with exit value:~n~p~n
	<0.275.0>
	{{badmatch,{error,[{alpaca_error_format,nofile},{alpaca_ast,nofile},{alpaca_compiled_po,nofile}]}},[{alpaca_shell,ensure_alpaca,0,[{file,"/Users/heinz/Projects/Other/alptest/_build/default/plugins/apcshell/src/alpaca_shell.erl"},{line,322}]},{alpaca_shell,server,0,[{file,"/Users/heinz/Projects/Other/alptest/_build/default/plugins/apcshell/src/alpaca_shell.erl"},{line,22}]}]}

compilation failure is treated as success

compiling the following code:

module example

export add/2

let add x y = x + y

let run () = add 2 1.0

fails as the awesome statical typing tells me I can't add 2 and 1.0 the error is printed:

UNIFY FAIL:  t_int AND t_float
LINE 7
Compile error: {cannot_unify,example,7,t_int,t_float}

However the shell still starts and doesn't fail.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.