src/containers/types/deque.bend checks
raw source on the hub · import 0xd9a2fae439ac7ff9e21e0853948f94fe/src/containers/types/deque.bend as Deque
1 import
import Base
Types
type Error source · line 5 · raw
Data
EmptyDequeError
type Op source · line 8 · raw
@-T:Data -> Data
Length@-T:Data -> Op<T>
PushFront@-T:Data -> @value:T -> Op<T>
PushBack@-T:Data -> @value:T -> Op<T>
PopFront@-T:Data -> Op<T>
PopBack@-T:Data -> Op<T>
PeekFront@-T:Data -> Op<T>
PeekBack@-T:Data -> Op<T>
ToList@-T:Data -> Op<T>
type Obs source · line 18 · raw
@-T:Data -> Data
ONat@-T:Data -> @value:Nat -> Obs<T>
OItem@-T:Data -> @result:Result<&2, &2, Error, T> -> Obs<T>
OUnit@-T:Data -> Obs<T>
OList@-T:Data -> @items:List<&2, T> -> Obs<T>