From 72ad03fcbddb3b87de5577b7225f6dc6f892ac93 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 24 Feb 2013 15:11:14 +0100 Subject: [PATCH] deprecate (ice-9 mapping) * module/ice-9/mapping.scm: Add deprecation warning. --- module/ice-9/mapping.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/ice-9/mapping.scm b/module/ice-9/mapping.scm index 74e98e783..bd4dbfbd3 100644 --- a/module/ice-9/mapping.scm +++ b/module/ice-9/mapping.scm @@ -1,6 +1,6 @@ ;;; installed-scm-file -;;;; Copyright (C) 1996, 2001, 2006 Free Software Foundation, Inc. +;;;; Copyright (C) 1996, 2001, 2006, 2013 Free Software Foundation, Inc. ;;;; ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public @@ -29,6 +29,9 @@ mapping-ref mapping-set! hash-table-mapping-hooks make-hash-table-mapping hash-table-mapping)) +(issue-deprecation-warning + "(ice-9 mapping) is deprecated. Use srfi-69 or rnrs hash tables instead.") + (define mapping-hooks-type (make-record-type 'mapping-hooks '(get-handle create-handle remove)))