File: array-fun1.fut

package info (click to toggle)
haskell-futhark 0.25.27-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,836 kB
  • sloc: haskell: 99,384; ansic: 12,821; python: 3,394; yacc: 783; javascript: 558; sh: 550; lisp: 395; makefile: 263
file content (5 lines) | stat: -rw-r--r-- 162 bytes parent folder | download | duplicates (2)
1
2
3
4
5
-- We cannot have a parameter with an array of functions.
-- ==
-- error: Cannot .* array with elements of lifted type .* -> .*

def f (arr : [](i32->i32)) = arr