f# - How to define -1 as a uint64 in a match clause? -


 Let's match myuint64 = 10uL myuint64. -1 -> () | _ -> () 

How can I define given -1 as a uint64 value?

If F # will convert it to you then then 1 UL will work. If not, you can specify it as 0xFFFFFFFFFFFFFFFFUL and can add a comment to remember that it is -1.

Currently F # equipment is not installed so I can not verify it.


Comments

Popular posts from this blog

email - PHP mail error ... failed to open stream : permission denied -

c# - ListView onScroll event -

c - Linux mmap() error -