align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

OCaml by Prasad Rao

Dr. Prasad Rao will present “OCaml for the curious”.

In the first half of the talk, Prasad introduces OCaml following the pattern in the 7LI7W book chapters on Scala and Haskell. This includes an introduction to the type system, pattern matching and collections.

In the second half Prasad introduces two advanced topics. The first of these explores OCaml's module system. The second covers parsing using ocamllex and ocamlyacc -- which yield parsers that are more principled in design and easier to understand than ad-hoc use of regular expressions.

Additionally, Prasad highlights areas where OCaml differs from similar functional languages -- both where users will find it advantageous to use OCaml and the other way around.

Note: Prasad is open to changing the the set of advanced topics covered if there is enough demand to cover a different advanced topic in OCaml.

Here are some good warm-up links:

http://ocaml.org/tutorials/
http://hyperpolyglot.org/ml



Join or login to comment.

  • Brian H.

    For the record, I think I may have been wrong in the bug I pointed out- I think underscore in ocamllex matches any character- but eof isn't a character, so it'd still fall through. I was just surprised at seeing a case after the catch-all case.

    July 30, 2013

  • Ashish A.

    Prasad gave a great introduction to OCaml with just the right amount of dry humor to make it fun.

    July 30, 2013

  • Pierre de L.

    Prasad did a great job of demonstrating the elegance and power of OCAML despite the unanticipated fire alarm that caused us all to evacuate the building amidst his talk. He exemplified OCaml by showing us an implementation of the K-Means and an implementation of a simple PROLOG interpreter. This was a great and informative talk.

    July 30, 2013

  • Andy N.

    Sincere apologies.

    July 29, 2013

  • Andrew L.

    NoCaml for me tonight. :-( recovering from (bad) weekend.

    July 29, 2013

  • polina

    Something came up and so unfortunately I will miss this presentation. Thanks!

    July 29, 2013

  • Leon T.

    Will try attending

    July 29, 2013

  • Avi F.

    Give us a source to read from

    July 28, 2013

  • prasad r.

    I have uploaded a file "intro_tut.ml" to http://www.meetup.com/7-Languages-in-7-Months-NYC/files/. This file should help the listeners follow along when I am busy typing Ctrl-C Ctrl-e into my emacs. :)

    1 · July 29, 2013

  • Harry W.

    Can't make it after all :-/

    July 29, 2013

  • James W.

    Hey quick question, when is this talk expected to end time-wise? Thanks!

    July 29, 2013

  • Andrew L.

    Ocaml, myCaml... ;-)

    July 10, 2013

  • Aaron R.

    is it a problem if I can only arrive by 7:30?

    July 8, 2013

  • prasad r.

    Hi
    Do you have any suggestions/requests for "advanced topics" you would like to hear about.

    Currently I am thinking of:
    (i) The module system, highlighting differences with similar languages.
    (ii) Parsing with the lex/yacc equivalents in OCaml

    July 2, 2013

    • Ashish A.

      If you go with parsing, you might consider Menhir, which is a strict improvement over Yacc.

      July 3, 2013

  • naren

    I am intereseted

    June 25, 2013

  • Viraj P.

    Yes

    May 27, 2013

  • Avi F.

    Give us a source to read from

    May 22, 2013

  • Ashish A.

    Let me know if you need a room for this. We can probably get a room at Jane Street or NYU.

    May 8, 2013

    • Pierre de L.

      Thanks Ashish! We'll will keep that in mind. MeetupHQ has been pretty good about accommodating us a monthly basis, but you never know. Options are always good!

      May 8, 2013

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy