Skip to content

Commit

Permalink
wip: Created empty Tuple class.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdantonio committed Aug 8, 2014
1 parent 049aa20 commit f3a7bca
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/functional.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
require 'functional/protocol'
require 'functional/protocol_info'
require 'functional/record'
require 'functional/tuple'
require 'functional/type_check'
require 'functional/union'
require 'functional/value_struct'
Expand Down
13 changes: 13 additions & 0 deletions lib/functional/tuple.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module Functional

# @see http://en.wikipedia.org/wiki/Tuple
# @see http://msdn.microsoft.com/en-us/library/system.tuple.aspx
# @see http://www.tutorialspoint.com/python/python_tuples.htm
# @see http://en.cppreference.com/w/cpp/utility/tuple
# @see http://docs.oracle.com/javaee/6/api/javax/persistence/Tuple.html
# @see http://www.erlang.org/doc/reference_manual/data_types.html
# @see http://www.erlang.org/doc/man/erlang.html#make_tuple-2
class Tuple

end
end
10 changes: 10 additions & 0 deletions spec/functional/tuple_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require 'spec_helper'

module Functional

describe Tuple do

pending

end
end

0 comments on commit f3a7bca

Please sign in to comment.