Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:39:24 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)

    I am wondering if #Haskell is worth bothering with... I've just written some code to solve a problem in it. And the best solution I could devise was the functional equivalent of a "do while" loop.

    It was a solution to https://adventofcode.com/2018/day/10

    It goes around a loop modifying a List of points, until the area of the points bounding box is a reaches a local minimum.

    It just doesn't seem very functional. but I can't think of a better way to do this.

    https://git.coop/kat/aoc2018/blob/master/10.hs

    In conversation Tuesday, 23-Apr-2019 11:39:24 EDT from mastodon.social permalink
    1. Kat MCP(NT4) MCSE(Win2K) (kat@mastodon.social)'s status on Tuesday, 23-Apr-2019 11:40:28 EDT Kat MCP(NT4) MCSE(Win2K) Kat MCP(NT4) MCSE(Win2K)
      in reply to

      Is #Haskell worth bothering with ?

      In conversation Tuesday, 23-Apr-2019 11:40:28 EDT from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.