Reusable logic structures
Name:
Anonymous
2017-02-18 6:58
Data structures are cute and all, but where are the logic structs?
How to define / construct / reuse these critters without going fully-functional?
Name:
Anonymous
2017-02-18 7:32
def
[input(x,y)],[output(z)],[transform("store y in file x, return error")]
cons
plonk some psuedo-ish code in a database?
reus
tell codewriter store y in file x, return error
Name:
Anonymous
2017-02-18 8:12
#define condswap(x,y,sw) ({typeof(x) a[2]={x,y};x=a[sw];y=a[1-(sw)];}) //void.h headers
Name:
Anonymous
2017-02-18 14:50
Do a barrel shift.
Name:
Anonymous
2017-02-18 17:37
Do a barrel roll
Name:
Anonymous
2017-02-19 6:23
It could be called the Source-library of alexandria
Eventually, it could contain all known possibly-useful length-x
sequences of logic for a slowly growing x, with many +x length additions
The most interesting bit though might be that for any function / alg in
the set, you can easily search up all its subroutines and sourcecodes
Newer Posts