Giter Site home page Giter Site logo

victornicollet / 99-problems-ocaml Goto Github PK

View Code? Open in Web Editor NEW
84.0 84.0 14.0 18 KB

Solving "99 List Problems" using Objective Caml

Home Page: http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html

License: Other

OCaml 100.00%

99-problems-ocaml's People

Contributors

massd avatar victornicollet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

99-problems-ocaml's Issues

Add a LICENSE file

Hello,
Under what license are these codes released? I’m considering copying the skeleton & tests (i.e. everything but each function’s body) to create a base repository for anyone who wants to try these tests. See what I did for Scala here. The idea is that anybody would be able to fork the repo (and/or clone it locally) and fill the blanks.

Problem 96

Hi Victor

If you have time, could you please have a look at problem 96, the syntax checker?

Syntax checker. (medium)

In a certain programming language (Ada) identifiers are defined by the syntax diagram >(railroad chart) opposite. Transform the syntax diagram into a system of syntax >diagrams which do not contain loops; i.e. which are purely recursive. Using these >modified diagrams, write a function identifier : string -> bool that can check whether or >not a given string is a legal identifier.

More example is here: http://www.haskell.org/haskellwiki/99_questions/95_to_99

I have solved this problem here:

https://github.com/MassD/99-Problems-OCaml/blob/master/91-99/p96.ml

do you think my solution is correct? I feel it is too simple. If you believe it is correct, I can produce a pull request.

Contribute to community website

This is interesting. Would you like to contribute it to the community website https://github.com/agarwal/ocamlweb ? We would like to use it as a "learn by doing tutorial". I can create s structure to display the question and hide the answer until the visitor click on a button. We have the infrastructure to execute code snippet embedded in HTML so the code could actually be checked.

About pull requests

Hi Victor

I am doing the 99 problems in OCaml now.

do you want me to make pull requests frequently or in a batch? Either way is fine with me, I just don't know which way you would like to review

thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.