# Structuring FRP (specifically Note) applications

**URL:** <https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645>\
**Category:** Learning\
**Tags:** javascript, jsoo\
**Created:** [October 18, 2021, 11:24am UTC](https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645 "2021-10-18T11:24:33Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![dbuenzli](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/dbuenzli/32/18_2.png) [@dbuenzli](https://discuss.ocaml.org/u/dbuenzli)\
**Post date:** [October 27, 2021, 11:57pm UTC](https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645/17 "2021-10-27T23:57:10Z")

</div>

> [@dbuenzli](#):
>
> ```auto
> val S.delay : 'a -> 'a t Lazy.t -> 'a t
> 
> let rec state =
> let next = lazy (S.accum (S.value state) update) in
> S.delay initial_state next
> 
> ```

In fact that looks wrong, it won’t pass the [statically constructive](https://ocaml.org/manual/letrecvalues.html#s:letrecvalues) test :–)

---

_[View the full topic](https://discuss.ocaml.org/t/structuring-frp-specifically-note-applications/8645)._
