A community-maintained gist.
(Per-module support feature legend. Currently, Rust (IIRC) doesn't support the video encoding module.)
--Rich Hickey's infamous transducers, demonstrating reversed function composition. | |
--Look closely. | |
function transduce(tf, rf, init, iter) | |
for i in iter do | |
init = tf(rf)(init, i) | |
end | |
return init | |
end |
class Type | |
attr_accessor :name | |
attr_accessor :supertype | |
def initialize(name, supertype = nil) | |
@name = name | |
@supertype = supertype | |
end | |
def is?(type) |
#!/bin/bash | |
files=$(find /usr/bin -maxdepth 1 -type f) | |
libs=$(find /usr/lib/*.so* -maxdepth 1 -type f) | |
clear | |
echo "Searching broken binaries...." | |
for binary in $files ; do | |
parse=$(ldd ${binary} | grep "not found") |
+----------------------+--------------------+--------------------+--------------------+
| Operation | F-Sharp | Compability | Haskell |
+======================+====================+====================+====================+
| List.append | @ | | ++ |
+----------------------+--------------------+--------------------+--------------------+
| Function composition | f << g | f . (g) | f . g |
+----------------------+--------------------+--------------------+--------------------+
| | = | == | == |
+----------------------+--------------------+--------------------+--------------------+