Git Product home page Git Product logo

Comments (6)

Octachron avatar Octachron commented on August 17, 2024

Operators can be defined by users in OCaml as described in the page that you are linking.

from v2.ocaml.org.

 avatar commented on August 17, 2024

The blog is said OCaml has a built in operator @@

@@ | Function application (f @@ x is the same as f x)
-- | --


Is that correct?

from v2.ocaml.org.

Octachron avatar Octachron commented on August 17, 2024

From the language perspective, there is no built-in operators at all in OCaml. All infix operators are defined as ordinary functions. However, the standard library defines some operators, thus one may speak of built-in operators in the standard library.

from v2.ocaml.org.

 avatar commented on August 17, 2024

Wrong: https://ocaml.janestreet.com/ocaml-core/odoc/stdlib/Stdlib/Pervasives/index.html

I try my best to search and find. i can see it defined as ocaml core. .
If any one looking for where the operator from.
may help you out.

Right link
https://v2.ocaml.org/api/Stdlib.html#VAL(@@)

from v2.ocaml.org.

Octachron avatar Octachron commented on August 17, 2024

The right location is here: https://ocaml.org/api/Stdlib.html#VAL(@@) . You are linking another library.

from v2.ocaml.org.

 avatar commented on August 17, 2024

I have no idea. but the web page search rank , janestreet is top than ocaml.org. thanks for your help. you tips me the right document.

from v2.ocaml.org.

Related Issues (20)

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.