Skip to content

Commit

Permalink
rename back to PrettyPrintingUtils for easier review
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero committed Dec 18, 2023
1 parent 30d761f commit 9fce154
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion agda2rust.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library
exposed-modules: Agda.Compiler.Rust.Backend
Agda.Compiler.Rust.RustExpr
Agda.Compiler.Rust.CommonTypes
Agda.Compiler.Rust.PrettyPrintRustExpr
Agda.Compiler.Rust.PrettyPrintingUtils
Agda.Compiler.Rust.AgdaToRustExpr
Paths_agda2rust
autogen-modules: Paths_agda2rust
Expand Down
2 changes: 1 addition & 1 deletion src/Agda/Compiler/Rust/Backend.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Agda.TypeChecking.Monad (

import Agda.Compiler.Rust.CommonTypes ( Options(..), CompiledDef, ModuleEnv )
import Agda.Compiler.Rust.AgdaToRustExpr ( compile, compileModule )
import Agda.Compiler.Rust.PrettyPrintRustExpr ( prettyPrintRustExpr )
import Agda.Compiler.Rust.PrettyPrintingUtils ( prettyPrintRustExpr )

runRustBackend :: IO ()
runRustBackend = runAgda [Backend backend]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Agda.Compiler.Rust.PrettyPrintRustExpr ( prettyPrintRustExpr, moduleHeader ) where
module Agda.Compiler.Rust.PrettyPrintingUtils ( prettyPrintRustExpr, moduleHeader ) where

import Data.List ( intersperse )
import Agda.Compiler.Rust.CommonTypes ( CompiledDef )
Expand Down
2 changes: 1 addition & 1 deletion test/RustBackendTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Test.HUnit (
, runTestTT)
import System.Exit ( exitFailure , exitSuccess )
import Agda.Compiler.Rust.Backend ( backend, defaultOptions )
import Agda.Compiler.Rust.PrettyPrintRustExpr ( moduleHeader )
import Agda.Compiler.Rust.PrettyPrintingUtils ( moduleHeader )

import Agda.Compiler.Backend ( isEnabled )

Expand Down

0 comments on commit 9fce154

Please sign in to comment.