Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ast
Octocat-spinner-32 build
Octocat-spinner-32 cas
Octocat-spinner-32 cmd
Octocat-spinner-32 compiler
Octocat-spinner-32 cron
Octocat-spinner-32 doc
Octocat-spinner-32 example
Octocat-spinner-32 format
Octocat-spinner-32 net
Octocat-spinner-32 parser
Octocat-spinner-32 printer
Octocat-spinner-32 runtime
Octocat-spinner-32 scanner
Octocat-spinner-32 token
Octocat-spinner-32 types
Octocat-spinner-32 w
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 LICENCE.md
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
README.md

Simplex -- Build Status

Simplex is a superset of Go.

Additional builtin types

view[K]M
view[]M
table[K]M

Additional builtin functions (and methods)

type M struct {}
type V view[string]M
type T view[string]M

V.wait()                       => V
len(V)                         => int
V.inject(func(M)A, func([]A)A) => A
V.collect(func(M)N)            => view[string]N
V.select(func(M)bool)          => V
V.reject(F)                   <=> V.select(func(m M)bool{ return !F(m) })
V.detect(F)                   <=> V.select(F)[0]
V.group(func(M)N)              => view[K]view[]M
V.slice(idx, len)              => V
V[idx]                        <=> V.wait()[idx]
V[idx:len]                    <=> V.slice(idx, len)
V[key]                        <=> V.wait()[key]
m, idx := range V             <=> m, idx := range V.wait()
m := range V                  <=> m := range V.wait()

Roadmap

  • Implement .index()
  • Implement .group()
  • Implement .inject()
  • Implement .detect()
Something went wrong with that request. Please try again.