phantomics / april

The APL programming language (a subset thereof) compiling to Common Lisp.
Apache License 2.0
602 stars 31 forks source link

Trains are broken again #258

Closed carkat closed 1 year ago

carkat commented 2 years ago

image Dyalog train works fine April produces incorrect results

image April atop removed from the train produces correct results

carkat commented 2 years ago
   ∧/2(=⍥≢)/('asdf' 'asdf' 'asdf' 'asdf')
1

another instance where train doesn't work

   ∧/2{⍺(=⍥≢)⍵}/('asdf' 'asdf' 'asdf' 'asdf')
1

but explicit works

phantomics commented 1 year ago

This is fixed.