From cb726fac520ed6336610d90af63c61044c51dfee Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 29 Mar 2015 19:31:45 +0200 Subject: Experimental --- format.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'format.go') 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) -- cgit v1.2.3