mathiasverraes / lambdalicious

Lambdalicious - Experiments in Elegant Functional Programming in PHP
http://verraes.net/2014/11/higher-order-programming/
MIT License
124 stars 8 forks source link

Omikron lists #27

Closed turanct closed 9 years ago

turanct commented 9 years ago
topics: 2
features: 10
assertions: 19

FAILED: lists: concat returns a list, when given multiple lists
Expected values to be equal, instead got:
--- Actual
+++ Expected
@@ @@
-(a, b, c, d, e, f)
+(a, b, c, d, e, 1)
turanct commented 9 years ago

All tests for lists are ported to omikron!

mathiasverraes commented 9 years ago

Let's keep side effects explicit. I propose:

thoughts?

mathiasverraes commented 9 years ago

quote means something else btw in lisp, it means the contents should be used literally instead of being interpreted.

turanct commented 9 years ago

that's very reasonable. I like the print(pretty(...))