Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.

This is the legacy version of twitter.com. We will be shutting it down on June 1, 2020. Please switch to a supported browser, or disable the extension which masks your browser. You can see a list of supported browsers in our Help Center.

  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
edwinbrady's profile
Edwin Brady
Edwin Brady
Edwin Brady
@edwinbrady

Tweets

Edwin Brady

@edwinbrady

CompSci Lecturer. Go player. Programming language researcher. Idris hacker. Denies knowledge of Whitespace. He/him. http://tinyurl.com/TypeDD 

St Andrews
eb.host.cs.st-andrews.ac.uk
Joined November 2008

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    1. Sage‏ @mx00s 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation

      Currently reading “Trees that Grow” by Najd and Jones. Helpful ideas for representing ASTs and associated data which may change through various stages of processing. https://www.microsoft.com/en-us/research/uploads/prod/2016/11/trees-that-grow.pdf …

      1 reply 2 retweets 11 likes
      Show this thread
    2. Sage‏ @mx00s 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation

      Maybe I’ll try translating these ideas to Idris. I’m pretty sure dependent types subsume type families and pattern synonyms may map cleanly to views in Idris. Compilation phases and their associated types can be explicitly enforced using a dependently typed state machine.

      1 reply 0 retweets 1 like
      Show this thread
    3. joomy‏ @cattheory 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @mx00s @mekajfire

      unfortunately no, Idris's dependent types do not subsume type families. ☹️ Haskell's type families let you write a type level function that takes a type and it lets you pattern match on what that type is, while Idris doesn't let typecase:https://stackoverflow.com/questions/23220884/why-is-typecase-a-bad-thing …

      1 reply 0 retweets 3 likes
    4. Sage‏ @mx00s 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @cattheory

      Huh, that’s too bad. I should read the type family paper(s) then. Thanks for sharing!

      1 reply 0 retweets 0 likes
    5. Sage‏ @mx00s 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @mx00s @cattheory

      Do you know of any languages besides Haskell that currently support this?

      1 reply 0 retweets 0 likes
    6. joomy‏ @cattheory 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @mx00s @mekajfire

      joomy Retweeted Vilem might have

      I don't, but @buggymcbugfix mentioned recently that typecase might make it into Idris 2!https://twitter.com/buggymcbugfix/status/1084975946518708224 …

      joomy added,

      Vilem might have @buggymcbugfix
      Replying to @JadenGeller
      We will hopefully get type case in Idris 2 thanks to linearity.
      1 reply 0 retweets 2 likes
    7. joomy‏ @cattheory 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @cattheory @mekajfire @buggymcbugfix

      My understanding is that Idris 2 is based on quantitative type theory which lets you add "multiplicities" before argument binders: 0, 1 or many. It means you can use that argument that many times in the definition. Using 0 before a type arg would mean you'd have parametricity!

      1 reply 0 retweets 2 likes
    8. Sage‏ @mx00s 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @cattheory @buggymcbugfix

      Holy smokes!

      1 reply 0 retweets 1 like
    9. joomy‏ @cattheory 23 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @mx00s @mekajfire @buggymcbugfix

      I guess @buggymcbugfix's reasoning (unless he has insider info) is that if 0 suffices to express that, then why not have typecase? (he can correct me if I'm wrong) You can find the implementation notes of Idris 2 here: https://github.com/edwinb/Blodwen/blob/master/Notes/implementation-notes.md …

      2 replies 0 retweets 4 likes
    10. Vilem might have‏ @buggymcbugfix 24 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @cattheory @mekajfire

      Yup, that's the reasoning. I recall discussing this with @edwinbrady when he came over to @UniKentComp a few weeks ago. Correct me if I'm wrong, Edwin. I also discussed this with Andreas Abel at POPL and he seemed excited about this too.

      1 reply 0 retweets 5 likes
      Edwin Brady‏ @edwinbrady 24 Jan 2019
      • Report Tweet
      • Report NetzDG Violation
      Replying to @buggymcbugfix @cattheory and

      Yes, that sounds about right! I haven't tried it yet though.

      1:34 AM - 24 Jan 2019 from Scotland, United Kingdom
      • 4 Likes
      • joomy ω∈ℕ Vilem might have Sage
      1 reply 0 retweets 4 likes
        1. New conversation
        2. Sage‏ @mx00s 25 Jan 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @edwinbrady @buggymcbugfix and

          Sage Retweeted Edwin Brady

          That was quick work! Thank you, @edwinbrady :)https://twitter.com/edwinbrady/status/1088811837376876545 …

          Sage added,

          Edwin Brady @edwinbrady
          Sometimes when I say types are first class in Idris, someone (quite reasonably) points out you can't pattern match on them. Well, here we go... https://gist.github.com/edwinb/25cd0449aab932bdf49456d426960fed …
          Show this thread
          1 reply 0 retweets 2 likes
        3. Edwin Brady‏ @edwinbrady 25 Jan 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @mx00s @mekajfire and

          It was this thread that made me think it was a good way to procrastinate today :). It doesn't work with function types yet, however.

          0 replies 0 retweets 3 likes
        4. End of conversation

      Loading seems to be taking a while.

      Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

        Promoted Tweet

        false

        • © 2020 Twitter
        • About
        • Help Center
        • Terms
        • Privacy policy
        • Imprint
        • Cookies
        • Ads info