File: COMMENTS

package info (click to toggle)
omake 0.10.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,076 kB
  • sloc: ml: 49,729; ansic: 5,163; makefile: 688; sh: 110
file content (16 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
*** curry branch

- What happens to exports from curried functions?

  curry.f() =
     export
     public.X = 1
     fun() =>
        println($X)

- The arity of a ValPrim is used for partial application,
  but the arities are often wrong.

- It is assumed that a primitive function, when partially
  applied, takes -all- the keyword arguments.  Nearly
  all the primitives will choke if passed a keyword.