|
Scala example source code file (overloads.check)
The Scala overloads.check source code
ok: -('a') = -97
ok: -(97) = -97
ok: Ops.-('a') = a
ok: Ops.-(97) = 97
ok: -- = 0
ok: --('a') = a
ok: --(97) = 97
ok: Ops.-- = 0
ok: Ops.--('a') = a
ok: Ops.--(97) = 97
ok: Funcs.foo = 0
ok: Funcs.foo('a') = 2
ok: Funcs.foo(97) = 3
ok: M1.f(3) = 11
ok: M2.f(3) = 22
Other Scala examples (source code examples)Here is a short list of links related to this Scala overloads.check source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.