<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.16.2.tar.gz"
  sha256 "04382ba345b530960312977027e0acac36ec84bfb7fd67830ab372ff696b2218"
  license "ISC"
  head "https://github.com/diku-dk/futhark.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "dfcb4213a0a1ad66190471a090492352de2a083b99535243b6113e680ec5abf4" => :catalina
    sha256 "9773f89549451d4b281aa6304a84517d743fbcccf31d3177fb9e5cb5e0e0e274" => :mojave
    sha256 "8fc9b0b1304422732c635a002fafd6f494591b23d888a13e04e4a8074b2034aa" => :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: remove cabal v1 references<commit_after>class Futhark < Formula
  desc "Data-parallel functional programming language"
  homepage "https://futhark-lang.org/"
  url "https://github.com/diku-dk/futhark/archive/v0.16.2.tar.gz"
  sha256 "04382ba345b530960312977027e0acac36ec84bfb7fd67830ab372ff696b2218"
  license "ISC"
  head "https://github.com/diku-dk/futhark.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "dfcb4213a0a1ad66190471a090492352de2a083b99535243b6113e680ec5abf4" => :catalina
    sha256 "9773f89549451d4b281aa6304a84517d743fbcccf31d3177fb9e5cb5e0e0e274" => :mojave
    sha256 "8fc9b0b1304422732c635a002fafd6f494591b23d888a13e04e4a8074b2034aa" => :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.10914454277286136, 'fraction_numerical': 0.1902654867256637, 'mean_word_length': 5.242331288343558, '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': '4366202', 'n_tokens_mistral': 1093, 'n_tokens_neox': 893, 'n_words': 125}