You need to remove the comma between the arguments in your call to res. Your "call" is identical to:

1
let res x = urlFilter4 ("http://notexist.com", 871) x

which is actually not a call, but a function definition.

By on 9/24/2008 10:49 AM ()

At the risk of being pedantic, it's actually

1
let res = (urlFilter4 "http://notexist.com"), 871

where the result 'res' is a tuple of a function and an int.

Either way, the problem is the spurious comma.

(If this is confusing, you might check out

[link:lorgonblog.spaces.live.com]

where I discuss some related issues in more depth.)

By on 9/24/2008 11:17 AM ()

What a dump-head i am some times...

It was indeed that comma. This is what you get if you are brain-stuck to some other languages that you use for quite some time now...

Thanks guys!

By on 9/24/2008 11:55 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper