yuyi
yuyi
```v module main import time fn main() { t := time.new_time( year: 2013 month: 5 day: 1 ) println('BEFORE: ${t} is a ${t.long_weekday_str()}: ${t.debug()}') t2 := t.add_days(1) println('AFTER: ${t2} is...
Can the receiver of the method have only two modes, fn (mut f Foo) and fn (f Foo), and the second can only be passing by reference mode, canceling passing...
`e.encode_array(val)` cannot be used in generic fn, unless val is concrete type. This should be `e.encode_array[StructType[string]](val)`.
```v import datatypes as l fn main() { mut ll := l.LinkedList[int]{} ll.push(1) ll.push(2) ll.push(3) println(ll) print_len(ll) } fn print_len(list l.LinkedList[T]) { println("print_len: ") println(list.len()) } PS D:\Test\v\tt1> v run...
It's ok on windows.