Project

notation

0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
The notation library provides unicode symbols that you can use as methods instead of using standard method names.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Description

Unicode methods for Ruby.

Installation

gem install notation

Synopsis

require 'notation'
   
λ { puts "hello" } # => "Hello"
 [1,2,3]          # => 6
 [2,3,4]          # => 24
 49               # => 7.0

Author's Notes

This library was inspired by the programming language Fortress, an offshoot of Fortran, created by Sun. Fortress supports unicode operators baked into the language.

Restrictions

The ability to add unicode methods is limited to method names that have no receiver. This is a limitation of the Ruby parser.

Copyright

(C) 2009-2021 Daniel J. Berger All Rights Reserved

License

Apache-2.0

Author

Daniel Berger