File: a.fut

package info (click to toggle)
haskell-futhark 0.25.32-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,236 kB
  • sloc: haskell: 100,484; ansic: 12,100; python: 3,440; yacc: 785; sh: 561; javascript: 558; lisp: 399; makefile: 277
file content (5 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (4)
1
2
3
4
5
-- Test that error states are not sticky from one call of an entry
-- point to the next.

let main (xs: []f32) (is: []i32) =
  map (\i -> xs[i]) is