yeti icon indicating copy to clipboard operation
yeti copied to clipboard

Functional programming language for JVM.

Results 11 yeti issues
Sort by recently updated
recently updated
newest added

I wrote this program, making a typo: ``` typedef tree = Leaf a | Node {left is tree , right is tree }; t1 is tree = Node { left=Leaf...

Mac OS X 10.10.5 ``` $ git clone https://github.com/mth/yeti.git Cloning into 'yeti'... remote: Counting objects: 14050, done. remote: Compressing objects: 100% (12/12), done. remote: Total 14050 (delta 6), reused 0...

Can this be used as a Java Script Engine? If not can this be added?

The following code should match all possible cases: ``` isEmptyList = \case of []: "empty list"; x::xs: "non-empty list with head: \(x) and tail: \(xs)" esac; ``` The empty list...

I am trying to keep my source code in certain directory structure and while I can use `yeti -d` when compiling, there seems no possibility of modifying the "load path"...

E.g.: ``` > {get foo () = (println "danger"; 3) } danger {foo=3} is {foo is number} ```

While following works: ```{ test = 3, foo () = test }``` when test is defined as a getter: ```{ get test() = 3+4, foo () = test }``` yeti...

Often, usually when making remote requests or doing some other slow computations, I want to reference the value of last expression in the REPL that I forgot to create binding...

Currently: ``` > 1_000_000 1:1: Bad number literal '1_000_000' ``` This is already [supported in Java since Java 7](https://docs.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html) and there is also this [proposal for SuccessorML](https://smlfamily.github.io/successor-ml/OldSuccessorMLWiki/Extended_syntax_for_literals.html) - I think...

It seems it's not possible to do something like: ``` p = load parser; foo `p.andThen` bar ``` A simple workaround is do a local binding in the scope and...