omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / apps / interplane-forge / server / nosocial.om
| 1 | note server/nosocial.om: seam until ForgeSocial lands: nobody is signed in, every count is 0, |
| 2 | note no write route exists, and the social bars render nothing. |
| 3 | fn soroute to long |
| 4 | ret 0 |
| 5 | end |
| 6 | fn sosess to long |
| 7 | put fuserl 0 0 |
| 8 | put fcsrfl 0 0 |
| 9 | ret 0 |
| 10 | end |
| 11 | fn sostarn i ulong to ulong |
| 12 | ret 0 |
| 13 | end |
| 14 | fn sofavn i ulong to ulong |
| 15 | ret 0 |
| 16 | end |
| 17 | fn sofolln to ulong |
| 18 | ret 0 |
| 19 | end |
| 20 | fn sofollg to ulong |
| 21 | ret 0 |
| 22 | end |
| 23 | fn sobar to void |
| 24 | end |
| 25 | fn sofolbar to void |
| 26 | end |
| 27 | fn socsrfok to bool |
| 28 | ret false |
| 29 | end |
| 30 | fn sostarsof to void |
| 31 | end |
| 32 | fn soload to long |
| 33 | ret 0 |
| 34 | end |
| 35 | note sojstars: the JSON array of the repos the user starred (social/60json.om); none without social |
| 36 | fn sojstars to void |
| 37 | fputc 91 |
| 38 | fputc 93 |
| 39 | end |