functional
functional mods
A mod changes the game itself, so it is tied to a game version and to whatever loads it. Filter by both and you get the list that will actually load, not the list that mentions your version somewhere in a description.
- Sample level - identityby YanWrite identity, it's not that hard!163 downloadsupdated 5 y ago
- LENby shedarshianWrite a function that, given a list of anything, return the length of the list, represented by a integer. The length of empty list is zero.61 downloadsupdated 5 y ago
- POWby shedarshianWrite function POW that, given two numericals X and Y, reduces to the Xth power of Y, which is Y times itself by X times. The 0th power of any Y is defined to be 1.39 downloadsupdated 5 y ago
- MODby nizahWrite function MOD that, given two numericals X and Y, reduces to X mod Y, that is reminder of the division of X by Y.36 downloadsupdated 5 y ago
- NORby MesseBestWrite a function NOR, that given two arguments as boolean and reduce to FALSE if at least one of them is TRUE, return TRUE otherwise. EXAMPLE: NOR TRUE, FALSE -> FALSE NOR FALSE, FALSE -> TRUE29 downloadsupdated 5 y ago
- Divisibleby atemakWrite a function DIVISIBLE that takes two numerals X and Y and reduces to TRUE if X is divisible by Y and FALSE otherwise. Examples: - DIVISIBLE 4 2 -> TRUE - DIVISIBLE 7 3 -> FALSE It is guaranteed Y is positive.25 downloadsupdated 5 y ago
- Set 1--setby shedarshianSet is an unordered collection of elements. A set of some type of elements is usually represented by a boolean. For example, empty set (the set which has no elements) is represented by x: FALSE. A set of natural numbers which only has elements 1 and 2 can be represented by a function, which retur...25 downloadsupdated 5 y ago
- FACTby JWWrite a function that, given a numeral N, reduces to the factorial of N, that is, N! = 1 x 2 x 3 x ... x (N-1) x N. Note that 0! = 1.24 downloadsupdated 5 y ago
- SUMby JWWrite a function SUM that, given a unary function F and two numerals A and B, reduces to the sum of (F X) for all X from A to B. It is guaranteed that A is less than or equal to B.23 downloadsupdated 5 y ago
- LESSby JWWrite a function LESS that takes two numerals X and Y and reduces to TRUE if X is less than Y and FALSE otherwise.20 downloadsupdated 5 y ago

