← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 84
  1. Monads for effects are familiar to the Haskell programmer; they were introduced by Wadler's "Monads for functional programming" and are the accepted way to work with side effects in a lazy language.

  2. As I wrote elsewhere, garbage collection—manual memory management correspond to intuitionistic logic—linear logic.

  3. Suppose we wish to compute successive differences.

  4. I adapted the xor example here from Python; they used NumPy.

  5. Dimension is a functor.

  6. I ported a Python tutorial to J.

  7. When writing a compiler, one typically annotates the syntax tree in various phases.

  8. Laconic J

    One of the virtues of J is its conciseness; I think this is underrated in exploratory programming.

  9. Recently, a preprint by Hall et al. was published: a comparison of keto and plant-based diets.

  10. I have seen "strict data structures, lazy functions" bandied about among Haskellers.

  11. Compared with Rust, ATS provides better type safety at the boundaries; foreign functions and data structures can be used in a first-class way without sacrificing type safety.

  12. ATS is known for its sophisticated type system, but it also has a template system that has been the focus of recent work.

  13. Suppose we want to count the number of lines in a file.

  14. The canonical way to get a perceptual hash is using the pHash library.

  15. Here I'd like to show an example of runtime complexity, arising from a practical problem.

  16. I read a recent Functional Pearl by Hinze and this inspired me to write up an example of projective programming and its motivation in logic/model theory.

  17. This post was inspired by a curious question on Twitter: is curry or uncurry more common in Haskell code?

  18. As a follow-up to my post on computing the Levenshtein distance in ATS, I figured I'd write up some of the actual benchmark results, as well as some of the subtleties involved in benchmarking various ecosystems.

  19. Initially, I had written hackage-fetch to see if there was any use of coelgot anywhere on Hackage.

  20. Inspired by a tweet, I decided to write an Old English name generator in Madlang.

  21. You may have seen my post on co-(Elgot algebras), in which I mentioned I had been using some exotic recursion schemes for my gmpint package.

  22. Suppose we wish to convert a number to its base \( b \) representation.

  23. I've talked about polyglot ATS/Haskell builds previously, but I wanted to show off the results of all this work without so much didactic focus.

  24. I am happy to announce that atspkg now has experimental support for cross-compiling!

  25. Some examples and non-examples of monads.

  26. I've been doing some more work with atspkg and polyglot builds.

  27. Here I present two ways to write Euler's totient function in ATS.

  28. 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.

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

  30. 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.

  31. I wanted to share a little example I came across while working on one of my Idris libraries.

  32. I've been using Idris for a while, and today I stumbled into an example of a dynamorphism that worked so beautifully I had to share.

  33. As you may have read in one of my past posts or elsewhere, performance across languages can be complicated, and it's not always as obvious as you'd expect.

  34. The modern theory of continued fractions comes from Christiaan Huygens, a Dutch physicist who invented the pendulum clock.