Skip to content

fasterthanlime/endorse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

endorse is ActiveSupport for ooc

endorse brings a few extensions to ooc that makes it nicer to use in day-to-day work.

list

Call list with any number of arguments with the same type to make a list literal :)

tuples

The => operator is overriden to form tuples out of two expressions.

This allows all sorts of interesting constructs!

map

map takes any number of tuples, and makes a map out of them:

alphabet := map(
    "a" => "anachronic",
    "b" => "beget",
    // etc.
    "z" => "zentrum"
)

About

A few extension to make ooc friendlier for web development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages