<commit_before>require "language/haskell"

class Futhark < Formula
  include Language::Haskell::Cabal

  desc "Data-parallel functional programming language"
  homepage "https://futhark-lang.org/"
  url "https://github.com/diku-dk/futhark/archive/v0.15.3.tar.gz"
  sha256 "0f13890f9e2eb0b487be53a2c26c71d1bad19a9ba7a6fc5e72f3c03cfbe6c220"
  head "https://github.com/diku-dk/futhark.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "2325ff3209309e850b3fd878dfc8b6d24348301cd740157c915ef8f05fd38211" => :catalina
    sha256 "3d6808c1a2801f7f03e657e240f08fc6b2a69761cf85df74a5a9204e4ed4bde9" => :mojave
    sha256 "f5318ecabb4c724c373529ae506b288542d9c7ae1beb99e0222acedc06bf6d17" => :high_sierra
  end

  depends_on "cabal-install" => :build
  depends_on "ghc" => :build
  depends_on "sphinx-doc" => :build

  uses_from_macos "ncurses"
  uses_from_macos "zlib"

  def install
    system "cabal", "v2-update"
    system "cabal", "v2-install", *std_cabal_v2_args

    system "make", "-C", "docs", "man"<commit_msg>futhark 0.15.4<commit_after>require "language/haskell"

class Futhark < Formula
  include Language::Haskell::Cabal

  desc "Data-parallel functional programming language"
  homepage "https://futhark-lang.org/"
  url "https://github.com/diku-dk/futhark/archive/v0.15.4.tar.gz"
  sha256 "dea6eb835a2a3ffb8d80d2fab28803771deace3cb84434d0e1f81d5e8f60406a"
  head "https://github.com/diku-dk/futhark.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "2325ff3209309e850b3fd878dfc8b6d24348301cd740157c915ef8f05fd38211" => :catalina
    sha256 "3d6808c1a2801f7f03e657e240f08fc6b2a69761cf85df74a5a9204e4ed4bde9" => :mojave
    sha256 "f5318ecabb4c724c373529ae506b288542d9c7ae1beb99e0222acedc06bf6d17" => :high_sierra
  end

  depends_on "cabal-install" => :build
  depends_on "ghc" => :build
  depends_on "sphinx-doc" => :build

  uses_from_macos "ncurses"
  uses_from_macos "zlib"

  def install
    system "cabal", "v2-update"
    system "cabal", "v2-install", *std_cabal_v2_args

    system "make", "-C", "docs", "man"
{'fraction_non_alphanumeric': 0.11051344743276284, 'fraction_numerical': 0.17408312958435207, 'mean_word_length': 5.276073619631902, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3781078', 'n_tokens_mistral': 1089, 'n_tokens_neox': 921, 'n_words': 122}