I was using function Float.of_string to convert an input obtained by a formular. Surely the user could be a bad guys and write a sentence instead of a float number in the input :)
I have a 32bit architecture so I must build opa from source. Configure works fine: ./configure -ocamlopt /opt/opa/bin/ocamlopt.opt -ocamlfind /opt/opa/bin/ocamlfind
I don\'t like MLstate\'s开发者_运维知识库 choice regarding XHTML 1.1 in Opa. Is there a way to use HTML 4.01 and HTML5?It\'s not the approved method, but it is possible. Take a look at module Resource
I\'m just investigating OPA and trying to make the leap from a traditional LAMP background, so here\'s my first of many newbie questions:
I use String.to_int, and some time开发者_开发知识库 i get errors, for example when the string is not a representation of an int. I would like to catch these errors, or test parameter before to use the
I have upload a little sample of SimpleTable : https://gist.github.com/1080278 Now, it compile but when I launch the server, I get that :
I think newbies are going to be confused b开发者_运维知识库y \'do\' and I wonder about it from a language design standpoint.You don\'t want to confuse newbies at this stage of the life of a new langua
example: type person = { name : string ; age : int } db /person : intmap开发者_运维技巧(person) I know how to get a single person from the db, but how do I get them all? and print them in a html t
I notice that included in the source of the OpaWhiteBoard example, there is a .ml file he开发者_如何转开发re:
Is it p开发者_开发知识库ossible to access HTML5 canvas elements in Opa?Yes it is possible to access HTML5 canvas elements in Opa!