I generally use the fact that you can omit the parentheses (or dot) for 
conversions of literals, leading to a pretty natural looking notation:
    
    
    let a = [float 1, 2, 3, 4]
    let b = [int8 1, 2, 3, 4]
    

Reply via email to