Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7517739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:32:44+00:00 2026-05-30T01:32:44+00:00

While reading about and implementing FRP I am confused by the semantics of the

  • 0

While reading about and implementing FRP I am confused by the semantics of the occs function on Event (referred to in Conal Elliott’s papers). It is very simple when dealing with static (pure) Events but I don’t understand how it works with dynamic Events (such as mouse button presses etc). For instance, if occs returns all of the occurrences of an Event then as far as I can see a result for occs for a dynamic Event could be one of the following things (since not all occurrences are known yet):

  • The known occurrences at the time of the call
  • An array/list that is automatically kept up to date with the Event itself

Of course both of these seem slightly ugly – one breaks semantic purity and the other involves side effects.

Would it be better to simply remove the occs function outside of the FRP framework itself (ie make it private to Event and anything that extends it)? As long as Event has map, filter, merge etc functions that return further Events I feel it could be lost without trouble. Or, am I misunderstanding something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T01:32:45+00:00Added an answer on May 30, 2026 at 1:32 am

    As far as I understand the occs function mentioned in Conal’s paper is not part of the API. Rather, it’s a specification of the programming model. Conal uses it to describe the semantics of the various combinators, but it’s not something that you can or should implement.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to ask a very basic question about token, while reading about regex,the
I am preparing for SCJP and I got confused while reading about nested types.
I've been reading about OrientDB for a while now, and I'm a bit confused
While reading about the function InterlockedIncrement I saw the remark that the variable passed
While reading about exception, I will always come across checked exceptions and unchecked exceptions,
While reading a book about JavaScript I stumbled across an example: var names =
While I was reading about session hijacking articles, i learned that it would be
I am new at MVC in Asp.Net and while i am reading about the
While reading proggit today, I came upon this comment in a post about how
I have been reading about Scala for a while and even wrote some small

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.