all repos — min @ 617ef6e735550975bc331fa0af66457f6e726b3b

A small but practical concatenative programming language.

Fixed expect.
h3rald h3rald@h3rald.com
Fri, 21 Jul 2017 22:29:37 +0200
commit

617ef6e735550975bc331fa0af66457f6e726b3b

parent

7adba219eb272fce58000acec484266d6f95d4b7

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M lib/min_lang.nimlib/min_lang.nim

@@ -545,7 +545,7 @@

def.symbol("expect") do (i: In): var q: MinValue i.reqQuotationOfSymbols q - i.push(i.expect(q.qVal.mapIt(it.getString()).reversed).newVal(i.scope)) + i.push(i.expect(q.qVal.mapIt(it.getString())).reversed.newVal(i.scope)) # Converters
M tests/lang.mintests/lang.min

@@ -192,7 +192,7 @@ ) tap!

s1 "test123" == ) assert - (1 "test" 3.4 (int string num) expect (3.4 "test" 1) ==) assert + (3.4 "test" 1 (int string num) expect (3.4 "test" 1) ==) assert report ; Tidy up