> This gave me error.
> 
> `var mySeq : seq[ int | float | string]`

This cannot be used for declaring a variable, but you can use it for arguments 
in a function:
    
    
    proc foo(a: seq[int|float|char]): string =
      return $a[0]
    
    echo foo(@[3, 5, 7])
    echo foo(@[3.5, 5.7, 7.3])
    echo foo(@['a', 'b', 'c'])
    
    
    Run

Reply via email to