package ppx_css

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file with_temporary_name.ml

1
2
3
4
5
6
7
8
9
10
11
12
open! Core
open Ppxlib

type 'a t =
  { txt : 'a
  ; temporary_name : string
  }

let mint txt =
  let temporary_name = gen_symbol ~prefix:"ppx_css_temp_variable" () in
  { txt; temporary_name }
;;