The ACM Digital Library currently loads very slow in Firefox.
This seems to stem from a lot of :has() selectors used in their CSS stylesheet.
If you have uBlock Origin installed, you can add the following filter under the "My filters" tab:
The ACM Digital Library currently loads very slow in Firefox.
This seems to stem from a lot of :has() selectors used in their CSS stylesheet.
If you have uBlock Origin installed, you can add the following filter under the "My filters" tab:
| module ErrorReflectionDemo | |
| import Language.Reflection | |
| import Language.Reflection.Errors | |
| import Language.Reflection.Utils | |
| %language ErrorReflection | |
| data Col = BOOL | STRING | INT |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # just some sanity checks to make sure the arguments make sense | |
| if ! test -f "${1}"; then | |
| echo "usage: ${0} <file>" | |
| exit 1 | |
| fi | |
| file="${1}" |
| {-# language Strict, LambdaCase, BlockArguments #-} | |
| {-# options_ghc -Wincomplete-patterns #-} | |
| {- | |
| Minimal demo of "glued" evaluation in the style of Olle Fredriksson: | |
| https://github.com/ollef/sixty | |
| The main idea is that during elaboration, we need different evaluation |
| AGDA_FILES=$(wildcard *.agda) | |
| TEX_FILES=${AGDA_FILES:.agda=.tex} | |
| PDF_FILES=${AGDA_FILES:.agda=.pdf} | |
| MONO_FONT=DejaVu Sans Mono # FreeMono is another choice | |
| PYGMENTS_STYLE=tango | |
| GRADED_XOPP_FILES=$(wildcard *-graded.xopp) | |
| GRADED_PDF_FILES=${GRADED_XOPP_FILES:.xopp=.pdf} | |
| .PHONY: all |
| #lang racket/gui | |
| (require plot | |
| pict) | |
| ;;; Author: Laurent Orseau | |
| ;;; License: [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0) or | |
| ;;; [MIT license](http://opensource.org/licenses/MIT) at your option. | |
| ;;; See in particular this blog bost: | |
| ;;; https://alex-hhh.github.io/2019/09/map-snip.html#2019-09-08-map-snip-footnote-2-return |
| [ | |
| { | |
| "key": "ctrl+shift+tab", | |
| "command": "workbench.action.previousEditor" | |
| }, | |
| { | |
| "key": "ctrl+tab", | |
| "command": "workbench.action.nextEditor" | |
| } | |
| ] |
| #| | |
| building syntax objects | |
| cpu time: 106 real time: 112 gc time: 45 | |
| expanding | |
| cpu time: 16063 real time: 17360 gc time: 2152 | |
| building syntax objects 2 | |
| cpu time: 116 real time: 126 gc time: 50 | |
| expanding | |
| cpu time: 15898 real time: 16583 gc time: 2231 |
| {- Coquand, T., & Dybjer, P. (1997). Intuitionistic model constructions and normalization proofs. | |
| Mathematical Structures in Computer Science, 7(1). https://doi.org/10.1017/S0960129596002150 -} | |
| open import Data.Empty using (⊥) | |
| open import Data.Unit using (⊤; tt) | |
| open import Data.Nat using (ℕ; zero; suc) | |
| open import Data.Product using (_×_; _,_; Σ; proj₁; proj₂; ∃-syntax) | |
| open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; cong) | |
| infix 3 _-→_ _-↛_ |