This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{- | |
This is a port of https://jordanmartinez.github.io/purescript-jordans-reference-site/content/21-Hello-World/05-Application-Structure/src/02-MTL/32-The-ReaderT-Capability-Design-Pattern.html | |
There was no simple, working example of the ReaderT pattern in Haskell | |
-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
import qualified Control.Monad.IO.Class as MonadIO | |
import qualified Control.Monad.Reader as Reader | |
import Prelude |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// How to run | |
/// ```bash | |
/// flutter test --concurrency=1 --platform tester .\test\real_benchmark.dart | |
/// flutter test --concurrency=1 --platform chrome .\test\real_benchmark.dart | |
/// ``` | |
import 'dart:async'; | |
import 'package:benchmark_harness/benchmark_harness.dart'; | |
import 'package:flutter_test/flutter_test.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"Changelog unreleased": { | |
"scope": "md, markdown", | |
"prefix": "changelog_unreleased", | |
"description": "Changelog unreleased", | |
"body": [ | |
"# Unreleased", | |
"+ added: ${0}", | |
"+ changed: ", | |
"+ deprecated: ", |