Category: magik programming
The Magik programming does not have an inherent enumerate method like Python, however, it would be trivial to make one: _global enumerate << _iter _proc@enumerate(list) _local i << 0 …
Given an array, we want to shuffle it (to make it random), so that every possible random solution gets evenly-distributely possibility. One may quickly write a solution like this, …
The Catalan number as described here is one of the well-known combinatorial number that has quite a few applications. For example, C(n) can be used to count the number …
Hey, it is happy valentines today! And I think it would be nice to please my wife with something special. I am learning Magik – which is a OO …
The Magik programming language as described in here is a powerful dynamic-typed object-oriented programming language. Currently, it has been used widely at GE Smallworld GIS products. It has been …