Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged ocaml

0 votes
963 views
1 answer
    What is the difference between 'a and '_l? I was looking at this error, and couldn't comprehend it: Error: ... ('_l → float polynomial) list See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    to make our code work with multiple ocamlgraph versions, we are using this snippet in one of our files ... /stackoverflow.com/questions/65854619/use-ocamlformat-with-cppo-and-dune...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm trying to compile a tiny C program that uses the OCaml GC independently of Ocaml itself. The code: ... com/questions/65910143/undefined-reference-to-caml-names-of-builtin-cprim...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
974 views
1 answer
    I switched my dune project version from (lang dune 1.1) to (lang dune 2.0) which produced an error for the handling ... -dependencies-error-when-switch-from-dune-1-1-to-dune-2-0...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
975 views
1 answer
    I'm new with Ocaml and functional programming, and I'm trying to implement some data structures that respect some ... .com/questions/65644425/cast-custom-type-to-option-custom-type...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
843 views
1 answer
    This question started out from My translating of "ML for the Working Programmer" (WorldCat) by L. C. PAULSON to F# ... .com/questions/14777522/if-sml-net-had-functors-why-cant-f...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
913 views
1 answer
    This question started out from My translating of "ML for the Working Programmer" (WorldCat) by L. C. PAULSON to F# ... .com/questions/14777522/if-sml-net-had-functors-why-cant-f...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    While trying to compile the following expression : String.blit (String.make tfs.len ' ') 0 tfs.txt 0 tfs.len; the compiler ... I'm using OCaml 4.11.1 under Ubuntu 20.01.01 LTS...
asked Feb 19, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
988 views
1 answer
    New in Ocaml and I'm trying to implement a couple of functions to manage a list of a custom types. I'm trying to ... able to find the error :/, maybe this is a stupid question....
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to create a type like this: type variable { id: string; tipe: int } type dec { variables: ... how to implement a hash map with OCaml inside the type declaration....
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
4.2k views
1 answer
    I can't seem to find the correct typing for an infinite list in ReScript. I first tried: type rec stream<'a> = ('a, () => ('a, ... int) => { (x, () => Lazy.from_fun(from(x+1))) }...
asked Jan 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...