aboutsummaryrefslogtreecommitdiff
path: root/format.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-03-29 19:31:45 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-03-29 19:31:45 +0200
commitcb726fac520ed6336610d90af63c61044c51dfee (patch)
tree59868250d0ea008b81e3bbae82bdb8f3c9772ec5 /format.go
parent5899aa90533584ffb81bec6b5073b203b58a22fb (diff)
Experimental
Diffstat (limited to 'format.go')
-rw-r--r--format.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/format.go b/format.go
index d635be9..94e21d6 100644
--- a/format.go
+++ b/format.go
@@ -5,13 +5,14 @@ import (
"math"
)
-type S string // string
-type I int64 // int
-type F float64 // float
-type C complex128 // complex
-type A interface{} // any
-type M func(A) A // monad
-type D func(A, A) A // dyad
+type S string // string
+type I int64 // int
+type F float64 // float
+type C complex128 // complex
+type A interface{} // any
+
+type Monad func(complex128) complex128
+type Dyad func(complex128, complex128) complex128
func (s S) String() string {
return string(s)