Vanessa McHale
  • Euler's Totient Function in ATS

    by Vanessa McHale | ATS

    Here I present two ways to write Euler's totient function in ATS. First we write our primality check:

  • Speeding up Math With ATS

    by Vanessa McHale | ATS

    I started work on my ATS math library recently; though I'm not sure it will be a wholehearted success, there were parts that deserve attention.

  • Advanced Control Flow

    by Vanessa McHale | Programming

    Three examples of recursion schemes drawn from mathematics, showing the use of linked lists as control structures.

  • Linear Types in ATS

    by Vanessa McHale | ATS

    Like my last post on ATS , this is far from a full-fledged tutorial, but I think it will nonetheless be instructive to students of ATS.

  • Matrix Algebra in Idris

    by Vanessa McHale | Programming

    I wanted to share a little example I came across while working on one of my Idris libraries. It's matrix multiplication, but from an angle you may not be used to. In particular, though it is written in Idris (a strict language), it composes as well arrays in Haskell or another lazy language thanks to dependent types.

    |