SEMrush
realworldocaml.org

Please wait for loading...




    SEMrush

      (38):

    /
     3  ~ 2014 aug 31good ocaml bookReal World OCamlInstallation instructions for the key software that Real World OCaml depends on. ... If you enjoy the book , please consider purchasing it in print or ebook form!
     12  -1 2014 aug 31application of imperative programmingChapter 8. Imperative Programming / Real World OCamlImperative programming can also be important for performance. ... We'll start with the implementation of a simple imperative dictionary, i.e., a mutable mapping ...
     14  -4 2014 aug 26the chap foreign fieldChapter 19. Foreign Function Interface / Real World OCamlThe simplest foreign function interface in OCaml doesn't even require you to ..... Describing component fields of structures, unions, and arrays.
     15  +14 2014 aug 21world of objectsChapter 11. Objects / Real World OCamlReal World OCaml, by Yaron Minsky, Anil Madhavapeddy and Jason Hickey. Buy in print ... In this chapter, we'll introduce you to OCaml objects and subtyping.
     16  -1 2014 sep 30s expressionChapter 17. Data Serialization with S - Expressions / Real World OCamlS - expressions play a major role in Core, effectively acting as the default serialization format. Indeed, we've encountered s - expressions multiple times already, ...
     17  +5 2014 sep 29real 18Chapter 18 . Concurrent Programming with Async / Real World OCamlChapter 18 . Concurrent Programming with Async. The logic of building programs that interact with the outside world is often dominated by waiting: waiting for the ...
     17  ~ 2014 sep 23real fileChapter 4. Files , Modules, and Programs / Real World OCamlAs you move from exercises to real -world programs, you'll need to leave the ... We'll start with a simple implementation, which we'll save as the file freq.ml.
     17  -2 2014 aug 24html parser command lineChapter 14. Command - Line Parsing / Real World OCamlThe callback function is where all the work happens after the command - line parsing is complete. This function is applied with the arguments containing the ...
     25  ~ 2014 aug 16javascript json handlingChapter 15. Handling JSON Data / Real World OCamlThe outermost JSON value is usually a record (delimited by the curly braces) and contains an unordered set of key/ value pairs. The keys must be strings, but ...
     27  +6 2014 sep 08delay real worldChapter 18. Concurrent Programming with Async / Real World OCamlReal World OCaml, by Yaron Minsky, Anil Madhavapeddy and Jason Hickey ..... In addition, we'd like to guarantee that these delayed actions are executed in ...
     29  ~ 2014 sep 20map stringChapter 13. Maps and Hash Tables / Real World OCamlNote that in some places the preceding code refers to String . Map .t , and in others Map .t . This has to do with the fact that maps are implemented as ordered ...
     32  +1 2014 oct 03json data exampleWe'll start by using the popular and simple JSON data format and then look at other ... Let's see what a JSON record for an example book description looks like:.
     32  ~ 2014 sep 25real recordsChapter 5. Records / Real World OCamlReal World OCaml, by Yaron Minsky, Anil Madhavapeddy and Jason ... We discussed records briefly in Chapter 1, A Guided Tour, but this ...
     32  +18 2014 sep 204 fileChapter 4 . Files , Modules, and Programs / Real World OCamlChapter 4 . Files , Modules, and Programs. We've so far experienced OCaml largely through the toplevel. As you move from exercises to real-world programs,  ...
     39  +10 2014 sep 26c interfaceThe simplest foreign function interface in OCaml doesn't even require you to write any C code at all! The Ctypes library lets you define the C interface in pure ...
     40  ~ 2014 sep 15real world records
     43  -3 2014 aug 17c time functionA value that defines the complete set of C function arguments and its return type. .... time_t time (time_t *); double difftime(time_t, time_t); char * ctime (const time_t ...
     46  +54 2014 sep 13парсинг что этоChapter 16. Parsing with OCamllex and Menhir / Real World OCamlIt's confusing that the term parsing is applied to both the overall process of converting textual data to structured data, and also more specifically to the second ...
     47  ~ 2014 aug 08html object styleObject -oriented programming (often shorted to OOP) is a programming style that encapsulates computation and data within logical objects . Each object contains ...
     48  +17 2014 oct 01val cliChapter 10. First-Class Modules / Real World OCamlan ordinary module. This can be done using the val keyword, using this syntax: ..... val cli : (string, (module Query_handler_instance)) Hashtbl.t -> unit = <fun>.
     50  ~ 2014 oct 04spectrum syntax erroropen Lexing open Parser exception SyntaxError of string let next_line lexbuf .... Unicode characters to handle the full spectrum of the world's writing systems.
     50  +2 2014 sep 10memory management relocation ويكيChapter 21. Understanding the Garbage Collector / Real World OCamlThe major heap does its best to manage memory allocation as efficiently as possible and .... The heap compaction cycle avoids this by relocating all the values in the major .... Also see:
     53  ~ 2014 sep 05checking html codeChapter 22. The Compiler Frontend: Parsing and Type Checking Each stage performs its job (e.g., type checking , optimization, or code generation) and .... Argot is an enhanced HTML generator that supports code folding and ...
     53  +25 2014 aug 31aeyrwbz dhtvz yf cbA value that defines the complete set of C function arguments and its return type. .... The time function returns the current calendar time and is a simple start.
     55  ~ 2014 jul 31multi parameter index generatorIndex / Real World OCamlArgot HTML generator , Generating Documentation from Interfaces; arguments ..... I.Query_handler module, Dispatching to Multiple Query Handlers; I /O ...
     64  ~ 2014 sep 21signal encoding failureChapter 7. Error Handling / Real World OCamlThe best way in OCaml to signal an error is to include that error in your return value. ... Specifically, when you encode an error as None , there's nowhere to say  ...
     68  +28 2014 sep 11echo in programmingNow that we have the basics of Async under our belt, let's look at a small standalone Async program . In particular, we'll write an echo server, i.e., a program that ...
     68  ~ 2014 aug 27designing with typeChapter 4. Files, Modules, and Programs / Real World OCamlThe let binding here is a pattern-match to a value of type unit , which is there to ...... with some advice on how to think about designing that structure effectively.
     76  -23 2014 jul 22print cpunt of hashBuy in print and eBook. ... OCaml Utop ∗ maps-and- hash -tables/main.topscript , continued (part 1) ∗ all code ... Std (** A collection of string frequency counts *) type t (** The empty set of frequency counts *) val empty : t (** Bump the frequency ...
     79  -5 2014 sep 12json exampleThe keys must be strings, but values can be any JSON type. In the preceding example , tags is a string list, while the authors field contains a list of records.
     79  ~ 2014 sep 09parser errorParsing such formats accurately and efficiently while providing useful error messages is a complex task. Often, you can find an existing parsing library that ...
     80  ~ 2014 sep 28json mapThis code introduces the Yojson.Basic.Util module, which contains combinator functions that let you easily map a JSON object into a more strongly typed OCaml  ...
     82  ~ 2014 sep 13variant partChapter 6. Variants / Real World OCamlOCaml Utop ∗ variants /main.topscript , continued ( part 1) ∗ all code. Using the preceding function, we can generate escape codes to change the color of a given  ...
     86  -28 2014 oct 04parse json in rubyOur first task is to parse the JSON into a more structured OCaml type so that we can ... When manipulating JSON in Python or Ruby , you might write unit tests to ...
     87  ~ 2014 sep 22types of map dataA map is an immutable tree-based data structure where most operations take time .... The type of Map .symmetric_diff , which follows, requires that the two maps it ...
     88  ~ 2014 sep 29lexerLet's consider lexing and parsing in the context of the JSON format. Here's a snippet of text that represents a JSON object containing a string labeled title and an ...
     88  +9 2014 sep 27writing a parserOften, you can find an existing parsing library that handles these issues for you. But there are tools to simplify the task when you do need to write a parser , in the ...
     91  ~ 2014 aug 31check html syntaxSource code | | parsing and preprocessing | | camlp4 syntax extensions | v Parsetree .... It can generate HTML pages, LaTeX and PDF documents, UNIX manual ...
    1 of 1 pages




    SEMrush