This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Countdown where | |
--Expressions | |
----------- | |
native getCPUTime java.lang.System.currentTimeMillis :: () -> IO Long | |
pure native formatLocale java.lang.String.format :: Maybe JLocale -> String -> Float -> String | |
data JLocale = pure native java.util.Locale | |
format s f = formatLocale Nothing s f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class List<T> implements Foldable<T>, Appendable<T, List<T>> { | |
private final java.util.List<T> delegate; | |
public List(java.util.List<T> delegate) { | |
this.delegate = delegate; | |
} | |
public int size() { | |
return this.delegate.size(); |