diff options
author | Thomas Geier <thomas.geier@uni-ulm.de> | 2013-12-05 16:45:26 +0100 |
---|---|---|
committer | Thomas Geier <thomas.geier@uni-ulm.de> | 2013-12-05 17:00:05 +0100 |
commit | 58eadc09527c2b6722ddd830c0d3f319f2967ef7 (patch) | |
tree | 52b9bc2f2b4d276f2afe17c3da63c213da9d12f8 /test/instrumented/boxes.patch | |
parent | 636307b9ba35e856f34684cce8620983aa1ba702 (diff) | |
download | scala-58eadc09527c2b6722ddd830c0d3f319f2967ef7.tar.gz scala-58eadc09527c2b6722ddd830c0d3f319f2967ef7.tar.bz2 scala-58eadc09527c2b6722ddd830c0d3f319f2967ef7.zip |
add method dequeueOption to immutable.Queue
This allows immutable.Queue to be used conveniently in functional code.
Method is in the spirit of `headOption` on seqs or `get` on maps. Also
adds a unit test for immutable.Queue.
Diffstat (limited to 'test/instrumented/boxes.patch')
0 files changed, 0 insertions, 0 deletions