Sure, I think what you are doing is executing the code in parts (using ;;) - which works.
However if you copy the entire snippet and execute it afterwards thusly
type Enu = A=1
[|Enu.A|]
seq[ Enu.A ] |> Seq.windowed 1 |> Seq.map id;;
it will throw an exception.
Hope this helps.