News for hackers. Stuff that matters.
Re:1ML – unifying ML into one language by mercurial on Thursday April 23, 2015 @01:37AM (#9425159)
You don't need a dynamic language for that. In Java:

    Map<K,V> mkMap(int size) {
        return size > threshold ? new HashMap<K,V>() : new TreeMap<K,V>();
    }

There are no comments on this comment yet.