From 2a7bf762c65a50a609cc65c275267203309f97be Mon Sep 17 00:00:00 2001 From: 0u0 Date: Fri, 31 Aug 2018 11:24:57 +0800 Subject: Remove useless lib In fact, if you donot import InteractiveUtils, you still can use the subtype and supertype function --- julia.html.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/julia.html.markdown b/julia.html.markdown index 3ef3148a..15c09da4 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -586,7 +586,6 @@ sherekhan = typeof(tigger)(5.6, "fire") # => Tiger(5.6,"fire") abstract type Cat end # just a name and point in the type hierarchy # Abstract types cannot be instantiated, but can have subtypes. -using InteractiveUtils # defines the subtype and supertype function # For example, Number is an abstract type subtypes(Number) # => 2-element Array{Any,1}: # => Complex -- cgit v1.2.3