# \#fun

**URL:** https://discuss.ocaml.org/tag/fun/447.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Fun keyword can be thought as a constructor](https://discuss.ocaml.org/t/fun-keyword-can-be-thought-as-a-constructor/15787)

<div class="topic-metadata">

**Author:** [@satyajit\_sarangdhar](https://discuss.ocaml.org/u/satyajit_sarangdhar)\
**Replies:** 0\
**Last updated:** [December 12, 2024, 5:30pm UTC](https://discuss.ocaml.org/t/fun-keyword-can-be-thought-as-a-constructor/15787 "2024-12-12T17:30:08Z")

</div>

Exploring the language currently, inside the language implementation, simple eg below let sum = (fun i -\> (fun j -\> i + j));; Can the fun keyword be thought as a polymorphic constructor? In other languages constructor…

---

## [Advent of Code 2021](https://discuss.ocaml.org/t/advent-of-code-2021/8945)

<div class="topic-metadata">

**Author:** [@shonfeder](https://discuss.ocaml.org/u/shonfeder)\
**Replies:** 13\
**Last updated:** [December 6, 2022, 4:17am UTC](https://discuss.ocaml.org/t/advent-of-code-2021/8945 "2022-12-06T04:17:06Z")

</div>

For any other OCamlers having a go at Advent of Code this year, I thought I’d create this thread for discussing/sharing/comparing. I doubt I’ll see it all the way through myself, but will keep at it until I run out of s…

---

## [OpenAI ChatGPT writing OCaml](https://discuss.ocaml.org/t/openai-chatgpt-writing-ocaml/10916)

<div class="topic-metadata">

**Author:** [@bn-d](https://discuss.ocaml.org/u/bn-d)\
**Replies:** 26\
**Last updated:** [February 2, 2023, 5:56pm UTC](https://discuss.ocaml.org/t/openai-chatgpt-writing-ocaml/10916 "2023-02-02T17:56:48Z")

</div>

Not sure whether this is the right place for this. But I really want to share this experience with you guys. TLDR; ChatGTP is chatbot developed by OpenAI. It is NOT tailored for OCaml code generation or even coding. It …

---

## [An awesome OCaml splashscreen](https://discuss.ocaml.org/t/an-awesome-ocaml-splashscreen/9626)

<div class="topic-metadata">

**Author:** [@Rucikir](https://discuss.ocaml.org/u/Rucikir)\
**Replies:** 3\
**Last updated:** [April 5, 2022, 7:55am UTC](https://discuss.ocaml.org/t/an-awesome-ocaml-splashscreen/9626 "2022-04-05T07:55:29Z")

</div>

Dear OCaml community, It occurred to me that while I was waiting for a new opam install, or a rebuild of all my switches, or a rebuild of the compiler and the hundreds of OCaml libraries there was little to no visual …

---

## [Share your crazy OCaml code snippet!](https://discuss.ocaml.org/t/share-your-crazy-ocaml-code-snippet/8116)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 44\
**Last updated:** [November 30, 2021, 2:43pm UTC](https://discuss.ocaml.org/t/share-your-crazy-ocaml-code-snippet/8116 "2021-11-30T14:43:53Z")

</div>

Do you have some particularly beautiful, fun or strange or interesting OCaml piece of code that you want to share? If so, just tell us a bit about what this code is doing and why you find it so interesting/fun/strange/…
