mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
New generic syntax and ad hoc invocation.
This commit is contained in:
committed by
Christoffer Lerno
parent
276281c3f9
commit
4f7b42cdc4
@@ -1,4 +1,4 @@
|
||||
module std::sort::quicksort<Type>;
|
||||
module std::sort::quicksort(<Type>);
|
||||
import std::sort;
|
||||
|
||||
def ElementType = $typeof(Type{}[0]);
|
||||
|
||||
Reference in New Issue
Block a user