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

  • Home
  • SEARCH
  • 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 6201219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:30:48+00:00 2026-05-24T04:30:48+00:00

To rebind Haskell’s proc-notation, paragraph 7.3.11 Rebindable syntax and the implicit Prelude import of

  • 0

To rebind Haskell’s proc-notation, paragraph 7.3.11 “Rebindable syntax and the implicit Prelude import” of the GHC User’s Guide states that the Arrow notation uses the arr, first, … functions that are in scope. It also states that the types “must match the Prelude types very closely”.

Anyone who wants to use this, is encouraged to ask. So, how close do these types have to match the Prelude types?

  • 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-24T04:30:49+00:00Added an answer on May 24, 2026 at 4:30 am

    I’m not aware of any full documentation on rebinding the proc notation–I think this is in the category of things they tossed in there because it made sense to have it, but there aren’t any clear motivating examples for using it yet.

    I did a quick empirical test, enabling the relevant extensions, giving the rebound functions bogus types, and then looking at the type errors. What I saw was something roughly like this:

    arr   :: (a -> b) -> t a b
    (>>>) :: t a b -> t b c -> t a c
    first :: t a b -> t (a, c) (b, c)
    

    I assume the remaining functions are similar. Roughly, these are exactly the same types as the standard functions, minus only the Arrow constraint in the context.

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

Sidebar

Related Questions

Can anyone explain why I can rebind list but not +? (binding [list vector]
Is there a way to trigger a GridView rebind from an html markup page
I'm looking to rebind Meta to the tab key in my emacs environment. I've
How does the name of an immutable object rebind to the result of an
I am trying to rebind the keydown event on focusout. Not really sure how
Is it possible to rebind a repeater (inside master page) from content page? My
I would like to know how I can rebind the previous behavior of a
1) If we first set DropDownList.SelectedIndex to some value and then rebind control to
How can I rebind my events (jquery) when I perform a partial page postback?
Is there a proper way to rebind events in JQuery UI when tabs are

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.