Packages

Elixir for-comprehension that goes beyond the lists

Current section

Files

Jump to
bindable lib bindable pure implementation stream.ex
Raw

lib/bindable/pure/implementation/stream.ex

defimpl Bindable.Pure, for: Stream do
@spec of(Enumerable.t(a), a) :: Enumerable.t(a) when a: var
def of(_, a), do: %Stream{enum: [a]}
end