diff options
| author | Joel Martin <github@martintribe.org> | 2014-04-10 23:20:11 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-04-10 23:20:11 -0500 |
| commit | 01e254893fede2c88fa7d2210da9e03af3a12617 (patch) | |
| tree | 5c81a250a273269fc493b57c1aaf5d58a6b7dcaa /ruby/types.rb | |
| parent | 46dbc0d87a8ceee9255808ee28792d625bc317fc (diff) | |
| download | mal-01e254893fede2c88fa7d2210da9e03af3a12617.tar.gz mal-01e254893fede2c88fa7d2210da9e03af3a12617.zip | |
Ruby: add step7_quote
Diffstat (limited to 'ruby/types.rb')
| -rw-r--r-- | ruby/types.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ruby/types.rb b/ruby/types.rb index 16d8d1e..6f22041 100644 --- a/ruby/types.rb +++ b/ruby/types.rb @@ -6,6 +6,10 @@ end class Vector < Array end +def sequential?(obj) + return obj.is_a?(List) || obj.is_a?(Vector) +end + class Function < Proc attr_accessor :ast attr_accessor :env |
