dbrattli/OSlash

(lambda x: x+3) % Just(2)

Closed this issue · 1 comments

(lambda x: x+3) % Just(2)

Traceback (most recent call last):
File "", line 1, in
TypeError: unsupported operand type(s) for %: 'function' and 'Just'

Thanks

from oslash import *
List([lambda x: x*2, lambda y: y+3]) * List([1, 2, 3])

Traceback (most recent call last):
File "", line 1, in
File "python3-3.8.3/lib/python3.8/typing.py", line 875, in new
obj = super().new(cls, *args, **kwds)
TypeError: object.new() takes exactly one argument (the type to instantiate)