Add encapsulation, sum types, type constraints and all the required machinery. Also -> threading macro #64
@@ -6,14 +6,8 @@
|
|||||||
"one step is just the value: 7")
|
"one step is just the value: 7")
|
||||||
(return 0)
|
(return 0)
|
||||||
|
|
||||||
;;; `->' used to be C's arrow. The arrow is what `.' writes now when
|
;;; A step may be a call, a bare name, a member path or a method, and
|
||||||
|
|
|||||||
;;; the thing it reads from is a pointer, which left the name free for
|
;;; the value goes in as its first argument.
|
||||||
;;; threading -- the first module of the standard library.
|
|
||||||
;;;
|
|
||||||
;;; What this pins is that a step may be a call, a bare name or a
|
|
||||||
;;; method, that the value is threaded into the *first* argument, and
|
|
||||||
;;; that the compiler's own generated arrows survived the rename --
|
|
||||||
;;; `ops' below lifts a method, which is where the captures live.
|
|
||||||
|
|
||||||
(include stdio.h)
|
(include stdio.h)
|
||||||
(import threading-macros)
|
(import threading-macros)
|
||||||
|
|||||||
Reference in New Issue
Block a user
Why that story is important?
The language is in alpha stage, everything changes from PR to PR, no need to write it down everywhere.
I agree.