<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

stackSection :: (Route App -> Text) -> Html ()
stackSection url = do
  p_ $ do
    "For most development, you'll need both the "
    b_ "Glasgow Haskell Compiler (GHC)"
    " and a build tool. The "
    b_ "Stack build tool"
    " can download GHC and other necessary Haskell dependencies for you on demand. "
    "You may also choose an installer package, which includes GHC and build tools."

  ul_ $ do
    li_ $ (a_ [href_ "https://github.com/commercialhaskell/stack/blob/master/doc/GUIDE.md"] "Read the stack guide →")
    li_ $ a_ [href_ "#choosing"] "Help me choose the right download →"

  h2_ [id_ "download-stack"] "Download stack"
  ul_ $ do
    li_ $ a_ [href_ "https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md#windows"] "Windows"<commit_msg>Propose a shorter  stack quick start guide<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

stackSection :: (Route App -> Text) -> Html ()
stackSection url = do
  p_ $ do
    "For most development, you'll need both the "
    b_ "Glasgow Haskell Compiler (GHC)"
    " and a build tool. The "
    b_ "Stack build tool"
    " can download GHC and other necessary Haskell dependencies for you on demand. "
    "You may also choose an installer package, which includes GHC and build tools."

  ul_ $ do
    li_ $ (a_ [href_ "https://github.com/yogsototh/stack/blob/master/doc/QUICKSTART.md"] "Read the stack guide →")
    li_ $ a_ [href_ "#choosing"] "Help me choose the right download →"

  h2_ [id_ "download-stack"] "Download stack"
  ul_ $ do
    li_ $ a_ [href_ "https://github.com/commercialhaskell/stack/blob/master/doc/install_and_upgrade.md#windows"] "Windows"
{'fraction_non_alphanumeric': 0.1116751269035533, 'fraction_numerical': 0.0010152284263959391, 'mean_word_length': 3.5414746543778803, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5183429', 'n_tokens_mistral': 663, 'n_tokens_neox': 628, 'n_words': 219}