# \#tyxml

**URL:** https://discuss.ocaml.org/tag/tyxml/201.md

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

---

## [\[VIDEO\] Developing Web and mobile applications in OCaml](https://discuss.ocaml.org/t/video-developing-web-and-mobile-applications-in-ocaml/13927)

<div class="topic-metadata">

**Author:** [@Vincent\_Balat](https://discuss.ocaml.org/u/Vincent_Balat)\
**Replies:** 1\
**Last updated:** [March 2, 2024, 10:02pm UTC](https://discuss.ocaml.org/t/video-developing-web-and-mobile-applications-in-ocaml/13927 "2024-03-02T22:02:05Z")

</div>

Here is a (re-)recording of a talk I gave a few weeks ago at Tarides, about Ocsigen and Be Sport. Abstract: This presentation gives an overview of the Ocsigen framework, which is used in particular to develop the Be S…

---

## [Creating a partially applied function leads to error contains the non-generalizable type variable(s): '\_weak1](https://discuss.ocaml.org/t/creating-a-partially-applied-function-leads-to-error-contains-the-non-generalizable-type-variable-s-weak1/13960)

<div class="topic-metadata">

**Author:** [@MarcCoquand](https://discuss.ocaml.org/u/MarcCoquand)\
**Replies:** 6\
**Last updated:** [January 29, 2024, 6:05pm UTC](https://discuss.ocaml.org/t/creating-a-partially-applied-function-leads-to-error-contains-the-non-generalizable-type-variable-s-weak1/13960 "2024-01-29T18:05:04Z")

</div>

Heya! I’m using Dream together with Tyxml and I have this ugly function I’d like to move to a helper function to make it more readable let string\_of\_html = Format.asprintf "%a" (Html.pp\_elt ()) However, it runs into …

---

## [How to get the value of an input in a declarative way with Tyxml\_js?](https://discuss.ocaml.org/t/how-to-get-the-value-of-an-input-in-a-declarative-way-with-tyxml-js/13137)

<div class="topic-metadata">

**Author:** [@Niols](https://discuss.ocaml.org/u/Niols)\
**Replies:** 6\
**Last updated:** [October 5, 2023, 12:39pm UTC](https://discuss.ocaml.org/t/how-to-get-the-value-of-an-input-in-a-declarative-way-with-tyxml-js/13137 "2023-10-05T12:39:41Z")

</div>

Dear fellow Js-of-OCamlers, I am converting an old project using custom HTML helpers to Tyxml. The syntax is surprisingly close but Tyxml is much more generic. Specifically, I am using Js\_of\_ocaml\_tyxml to get both “con…

---

## [Convert HTML to TyXML](https://discuss.ocaml.org/t/convert-html-to-tyxml/13104)

<div class="topic-metadata">

**Author:** [@pat](https://discuss.ocaml.org/u/pat)\
**Replies:** 9\
**Last updated:** [September 27, 2023, 9:03am UTC](https://discuss.ocaml.org/t/convert-html-to-tyxml/13104 "2023-09-27T09:03:59Z")

</div>

Im prototyping a new backend with OCaml, and im using Dream and TyXML for generating the output (HTML). Having done web dev for over a decade, i am scarred by the ecosystem that is javascript. Because of this i decided t…

---

## [Choice of template language for tyxml](https://discuss.ocaml.org/t/choice-of-template-language-for-tyxml/1863)

<div class="topic-metadata">

**Author:** [@Drup](https://discuss.ocaml.org/u/Drup)\
**Replies:** 9\
**Last updated:** [January 10, 2021, 12:55pm UTC](https://discuss.ocaml.org/t/choice-of-template-language-for-tyxml/1863 "2021-01-10T12:55:26Z")

</div>

Tyxml has a ppx which allows to type regular HTML and get tyxml elements out. I have been working on-and-off on a templating version which allows to type in templated HTML and get a statically typed function that returns…

---

## [A Lightweight OCaml Webapp Tutorial (Using Opium, Caqti, and Tyxml)](https://discuss.ocaml.org/t/a-lightweight-ocaml-webapp-tutorial-using-opium-caqti-and-tyxml/4967)

<div class="topic-metadata">

**Author:** [@shonfeder](https://discuss.ocaml.org/u/shonfeder)\
**Replies:** 6\
**Last updated:** [January 11, 2020, 8:46pm UTC](https://discuss.ocaml.org/t/a-lightweight-ocaml-webapp-tutorial-using-opium-caqti-and-tyxml/4967 "2020-01-11T20:46:42Z")

</div>

The tutorial is hosted on gitlab pages, out of this repository. I put this together in response to some requests for introductory material on the topic (here and on /r/ocaml. I don’t have much expertise to offer in this…

---

## [Tyxml: problem while loading the library in the Toplevel](https://discuss.ocaml.org/t/tyxml-problem-while-loading-the-library-in-the-toplevel/4468)

<div class="topic-metadata">

**Author:** [@Luc\_ML](https://discuss.ocaml.org/u/Luc_ML)\
**Replies:** 5\
**Last updated:** [September 30, 2019, 11:53am UTC](https://discuss.ocaml.org/t/tyxml-problem-while-loading-the-library-in-the-toplevel/4468 "2019-09-30T11:53:28Z")

</div>

I’m just trying to load Tyxml in the Toplevel to fine-tune some values. And I get the following error. It’s weird. What triggers loading in the Toplevel of ocamltoplevel.cma, while it’s not supposed to be done: "The oc…
