<commit_before>{-# LANGUAGE OverloadedStrings #-}

-- | Downloads page view.

module HL.View.Downloads where

import Data.Monoid
import HL.Types
import HL.View
import HL.View.Template

hpSection :: Html ()
hpSection = do
  let hpRoot = "http://www.haskell.org/platform/"
  h2_ "Haskell Platform"
  p_ $ "The Haskell Platform is a convenient way to install the Haskell development tools and"
       <> " a collection of commonly used Haskell packages from Hackage."
  p_ $ "Get the Haskell Platform for:"
  ul_ $ do li_ $ a_ [href_ $ hpRoot <> "windows.html"] "Windows"
           li_ $ a_ [href_ $ hpRoot <> "mac.html"] "OS X"
           li_ $ a_ [href_ $ hpRoot <> "linux.html"] "Linux"
  hr_ [style_ "height: 1px; background-color: black;"]<commit_msg>Change Haskell Platform urls to /platform/site/...<commit_after>{-# LANGUAGE OverloadedStrings #-}

-- | Downloads page view.

module HL.View.Downloads where

import Data.Monoid
import HL.Types
import HL.View
import HL.View.Template

hpSection :: Html ()
hpSection = do
  let hpRoot = "http://www.haskell.org/platform/site/"
  h2_ "Haskell Platform"
  p_ $ "The Haskell Platform is a convenient way to install the Haskell development tools and"
       <> " a collection of commonly used Haskell packages from Hackage."
  p_ $ "Get the Haskell Platform for:"
  ul_ $ do li_ $ a_ [href_ $ hpRoot <> "windows.html"] "Windows"
           li_ $ a_ [href_ $ hpRoot <> "mac.html"] "OS X"
           li_ $ a_ [href_ $ hpRoot <> "linux.html"] "Linux"
  hr_ [style_ "height: 1px; background-color: black;"]
{'fraction_non_alphanumeric': 0.12322580645161291, 'fraction_numerical': 0.0025806451612903226, 'mean_word_length': 3.3445378151260505, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '780030', 'n_tokens_mistral': 552, 'n_tokens_neox': 507, 'n_words': 172}