typelift / aquifer Goto Github PK
View Code? Open in Web Editor NEWFunctional streaming abstractions in Swift
Functional streaming abstractions in Swift
I think it would be fun to port the tutorial over into a playground bundled with the library. My foggy memory and a quick glance back say there's no monadic tricks in it (unlike the test suite) that would trip us up.
We need them. The infrastructure is in place, but none are written!
List of tests needed:
pure
fmap
/ <^>
ap
/ <*>
bind
/ >>-
flatten
request
respond
pull
push
>>|
/ |<<
|>>
/ <<|
|>|
/ |<|
>|>
/ <|<
+>>
/ <<+
>>~
/ ~<<
>+>
/ <+<
>~>
/ <~<
reflect
delay
runEffect
discard
each
:
SequenceType
overloadonce
next
fold
foldRet
toList
arr
left
right
+++
yield
await
cat
>~~
/ ~~<
~~>
/ <~~
>->
/ <-<
drain
chain
not
mconcat
head
last
isEmpty
length
mapInput
mapOutput
map
mapMany
description
debugDescription
concat
all
any
and
or
sum
product
maximum
minimum
scan
scan1
scan1i
repeat
replicate
take
takeWhile
drop
dropWhile
elem
notElem
find
filter
elemIndices
findIndex
findIndices
zip
zipWith
span
extreme
splitAt
groupBy
group
draw
skip
drawAll
skipAll
unDraw
peek
isEndOfInput
foldAll
GroupedProducer
basics:
pure
fmap
/ <^>
ap
/ <*>
bind
/ >>-
flatten
wrap
:
delay
next
discard
groupsBy
groups
chunksOf
concats
intercalates
takes
takesRet
drops
fromHandle
/ stdinLn
toHandle
/ stdoutLn
describe
debugDescribe
writeTo
Ah, the totally foreseeable consequences of keeping every operator, no matter how private, at global scope.
So far, they are:
tee
:
generalize
:
toParser
:
It's looking a bit bare-bones at the moment. :)
It really isn't a pressing problem because I can't think of many situations you could feasibly use Proxy<X, X, X, X, Proxy<X>>
, but it's still something.
I noticed the license in the headers says this belongs to TypeLift in places. Did you intend to publish this there (but didn't have sufficient privileges, again so sorry about that ๐)? Do you have any plans to move this under the purview of TypeLift at some point?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.